Skip to content

Commit 95a9265

Browse files
committed
Merge pull request #26086 from dreis2211
* pr/26086: Fix Docker update detection on CI Closes gh-26086
2 parents f29c707 + 505e6a1 commit 95a9265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/scripts/detect-docker-updates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
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' )
3+
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' )
44

55
if [[ $latest_version =~ (beta|rc) ]]; then
66
echo "Skip pre-release versions"

0 commit comments

Comments
 (0)