Skip to content

Commit

Permalink
Match "noble-YYYYMMDD.X" Docker tags (#203)
Browse files Browse the repository at this point in the history
The latest Ubuntu 24.04 image on Docker Hub has an unusual tag "noble-20241118.1". The suffix ".1" is not common and wasn't part of our original regexp.

This update allows Bob to match the tag and build images based on that Ubuntu version.
  • Loading branch information
rhcarvalho authored Dec 28, 2024
1 parent d5ce439 commit 8082715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bob/job/docker_checker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule Bob.Job.DockerChecker do
{"ubuntu",
[
# 24.04
~r/^noble-\d{8}$/,
~r/^noble-\d{8}(\.\d)?$/,
# 22.04
~r/^jammy-\d{8}$/,
# 20.04
Expand Down

0 comments on commit 8082715

Please sign in to comment.