From 505e6a1b4c73382d655a409ecb526ba72e6ba2b9 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Tue, 13 Apr 2021 21:55:09 +0200 Subject: [PATCH] Fix Docker update detection on CI See gh-26086 --- ci/scripts/detect-docker-updates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/detect-docker-updates.sh b/ci/scripts/detect-docker-updates.sh index af8ee1982c..cc10b3dfd1 100755 --- a/ci/scripts/detect-docker-updates.sh +++ b/ci/scripts/detect-docker-updates.sh @@ -1,6 +1,6 @@ #!/bin/bash -latest_version=$(curl -I -s https://github.com/docker/docker-ce/releases/latest | grep -i "location:" | awk '{n=split($0, parts, "/"); print substr(parts[n],2);}' | awk '{$1=$1;print}' | tr -d '\r' | tr -d '\n' ) +latest_version=$(curl -I -s https://github.com/moby/moby/releases/latest | grep -i "location:" | awk '{n=split($0, parts, "/"); print substr(parts[n],2);}' | awk '{$1=$1;print}' | tr -d '\r' | tr -d '\n' ) if [[ $latest_version =~ (beta|rc) ]]; then echo "Skip pre-release versions"