From 918ef888e91cba9464de7813c6d65c8867b20e2d Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Thu, 15 Oct 2020 11:06:05 +0200 Subject: [PATCH] Fix image folder name in update detection script Fixes gh-23699 --- ci/scripts/detect-ubuntu-image-updates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/detect-ubuntu-image-updates.sh b/ci/scripts/detect-ubuntu-image-updates.sh index 0d67a7b756..c44eab48c1 100755 --- a/ci/scripts/detect-ubuntu-image-updates.sh +++ b/ci/scripts/detect-ubuntu-image-updates.sh @@ -4,7 +4,7 @@ ISSUE_TITLE="Upgrade Ubuntu version in CI images" ubuntu="focal" 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/spring-boot-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]}' ) if [[ $current = $latest ]]; then echo "Already up-to-date"