mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix image folder name in update detection script
Fixes gh-23699
This commit is contained in:
parent
bdb6b2a4bb
commit
918ef888e9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user