Merge pull request #32920 from dreis2211

* gh-32920:
  Upgrade CI image update detection to Ubuntu Jammy

Closes gh-32920
pull/33276/head
Andy Wilkinson 2 years ago
commit f881d12441

@ -2,7 +2,7 @@
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]}' )
current=$( grep "ubuntu:$ubuntu" git-repo/ci/images/ci-image/Dockerfile | awk '{split($0, parts, "-"); print parts[2]}' )

Loading…
Cancel
Save