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 2aff798 + 4ef1233 commit 3975a33Copy full SHA for 3975a33
src/quickstart.sh
@@ -81,8 +81,8 @@ if [ "$(id -u)" -ne 0 ]; then
81
exit 1
82
fi
83
84
-# Update the tag for the latest version
85
-if [ "${TAG}" == "latest" ] ; then
+# For remote images with the 'latest' tag, update the tag to the latest released version
+if [[ "${IMAGE}" != localhost/* ]] && [ "${TAG}" == "latest" ]; then
86
TAG="$(curl -s --max-time 60 "https://api.github.com/repos/${OWNER}/${REPO}/releases/latest" | jq -r .tag_name)"
87
if [ -z "${TAG}" ] || [ "${TAG}" == "null" ] ; then
88
echo "ERROR: Could not determine the latest release tag from GitHub"
0 commit comments