Skip to content

Commit

Permalink
regexp pattern to filter image tags
Browse files Browse the repository at this point in the history
$ curl -s "https://registry.access.redhat.com/v2/ubi9/ubi/tags/list" | jq '.tags | .[]'
"9.0.0"
"9.0.0-1468"
"9.0.0-1468.1655190709"
"9.0.0-1468.1655190709-source"
"9.0.0-1468-source"
"9.0.0-1571"
"9.0.0-1571-source"
"9.0.0-1576"
"9.0.0-1576-source"
"9.0.0-1604"
"9.0.0-1604-source"
"9.0.0-1640"
"9.0.0-1640.1665068441"
"9.0.0-1640.1665068441-source"
"9.0.0-1640.1666621574"
"9.0.0-1640.1666621574-source"
"9.0.0-1640-source"
"9.0.0-1690"
"9.0.0-1690-source"
"9.0.0-1703"
"9.0.0-1703-source"
"9.1"
"9.1.0"
"9.1.0-1646"
"9.1.0-1646.1669023907"
"9.1.0-1646.1669023907-source"
"9.1.0-1646.1669627755"
"9.1.0-1646.1669627755-source"
"9.1.0-1646-source"
"9.1.0-1750"
"9.1.0-1750.1675784955"
"9.1.0-1750.1675784955-source"
"9.1.0-1750-source"
"9.1.0-1782"
"9.1.0-1782-source"
"9.1.0-1817"
"9.1.0-1817-source"
"9.2"
"9.2-489"
"9.2-489-source"
"9.2-696"
"9.2-696-source"
"9.2-722"
"9.2-722.1692769367"
"9.2-722.1692769367-source"
"9.2-722-source"
"9.2-755"
"9.2-755.1696514207"
"9.2-755.1696514207-source"
"9.2-755.1696515532"
"9.2-755.1696515532-source"
"9.2-755.1697534103"
"9.2-755.1697534103-source"
"9.2-755.1697625012"
"9.2-755.1697625012-source"
"9.2-755-source"
"9.3"
"9.3-1361"
"9.3-1361.1699548029"
"9.3-1361.1699548029-source"
"9.3-1361-source"
"9.3-1476"
"9.3-1476-source"
"9.3-1552"
"9.3-1552-source"
"9.3-1610"
"9.3-1610-source"
"9.4"
"9.4-1123"
"9.4-1123.1719560047"
"9.4-1123.1719560047-source"
"9.4-1123-source"
"9.4-1181"
"9.4-1181.1724035907"
"9.4-1181.1724035907-source"
"9.4-1181-source"
"9.4-1214"
"9.4-1214.1725849297"
"9.4-1214.1725849297-source"
"9.4-1214.1726694543"
"9.4-1214.1726694543-source"
"9.4-1214-source"
"9.4-947"
"9.4-947.1714667021"
"9.4-947.1714667021-source"
"9.4-947.1716476138"
"9.4-947.1716476138-source"
"9.4-947.1717074712"
"9.4-947.1717074712-source"
"9.4-947-source"
"latest"
"sha256-0321bb0af8aef544a0fa77619e3854ceb8e5cd791fee01069ada9ede34996d37.sig"
"sha256-081c96d1b1c7cd1855722d01f1ca53360510443737b1eb33284c6c4c330e537c.att"
"sha256-0dc83ba23952d0803e86fca8dd7c014ae363192ae7cc83655567ec7a8578476a.att"
"sha256-0dc83ba23952d0803e86fca8dd7c014ae363192ae7cc83655567ec7a8578476a.sig"
"sha256-0e3f3e507494934c19a5298d27c8011350a2f5f926418a16be3f3c594dadcd30.att"
"sha256-107c9023633401c7a4ce7055c6c4f25bbab0465481c202a9af1d76020ba2d9a8.sig"
"sha256-12417683f9fe6cd6b8cb58b293f174621886e5d68cf41066127d28e42424ad40.att"
"sha256-129be29b70db6148ccfb1454f273e409c92eba82bf3d2281933b595262a6f8d7.sig"
"sha256-14f1cd4b565c93b7ae400db1759db485f14a9154d45f25c9558cd2a9e753d2ca.att"
  • Loading branch information
lemeurherveCB committed Sep 24, 2024
1 parent 0129ff6 commit 3cbb58c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions updatecli/updatecli.d/rhel-ubi9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ sources:
name: "Get the latest UBI9 Linux version"
spec:
image: "registry.access.redhat.com/ubi9/ubi"
versionfilter:
kind: regex
pattern: >-
\d+\.\d+-\d+\.\d+$
targets:
updateDockerfile:
Expand Down

0 comments on commit 3cbb58c

Please sign in to comment.