Upgrade CI image update detection to Ubuntu Jammy
See gh-32920
This commit is contained in:
parent
92b513dc8d
commit
cc23dbe9f7
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
ISSUE_TITLE="Upgrade Ubuntu version in CI images"
|
ISSUE_TITLE="Upgrade Ubuntu version in CI images"
|
||||||
|
|
||||||
ubuntu="focal"
|
ubuntu="jammy"
|
||||||
latest=$( curl -s "https://hub.docker.com/v2/repositories/library/ubuntu/tags/?page_size=1&page=1&name=$ubuntu" | jq -c -r '.results[0].name' | awk '{split($0, parts, "-"); print parts[2]}' )
|
latest=$( curl -s "https://hub.docker.com/v2/repositories/library/ubuntu/tags/?page_size=1&page=1&name=$ubuntu" | jq -c -r '.results[0].name' | awk '{split($0, parts, "-"); print parts[2]}' )
|
||||||
current=$( grep "ubuntu:$ubuntu" git-repo/ci/images/ci-image/Dockerfile | awk '{split($0, parts, "-"); print parts[2]}' )
|
current=$( grep "ubuntu:$ubuntu" git-repo/ci/images/ci-image/Dockerfile | awk '{split($0, parts, "-"); print parts[2]}' )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue