We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f29c707 + 505e6a1 commit 95a9265Copy full SHA for 95a9265
ci/scripts/detect-docker-updates.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
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' )
+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' )
4
5
if [[ $latest_version =~ (beta|rc) ]]; then
6
echo "Skip pre-release versions"
0 commit comments