-
Notifications
You must be signed in to change notification settings - Fork 2.4k
"latest"tag in gcr.io is not getting updated #3066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
agreed. the latest tag should be changed to 0.39.3. That version is the last non pre-release on GitHub. |
Now its 20 months old... This seems bad because I guess most people would not see that the latest tag is that old... |
#3028 Also wants this fixed Can this be changed, or is there a reason I just overlooked? |
I ran into this today too. Please for the love of god ;-) |
You can have a semver and latest too :-) #!/usr/bin/env bash
#encoding=utf8
set -euox pipefail
IFS=$'\n\t'
export DOCKER_BUILDKIT=1
cd "$(dirname "$0")/.."
if [ -d .git ]; then
COMMIT_SHA=$(git rev-parse HEAD)
TAG_NAME=$(git describe --tags --abbrev=0)
REPO_NAME="Checkout of $(git remote get-url origin) at $(git describe --dirty --always)"
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
fi
docker build \
--build-arg "COMMIT_SHA=$COMMIT_SHA" \
--build-arg "REPO_NAME=$REPO_NAME" \
--build-arg "BRANCH_NAME=$BRANCH_NAME" \
--build-arg "TAG_NAME=$TAG_NAME" \
-t cadvisor:"$TAG_NAME" \
-t cadvisor:latest \
-f docker/Dockerfile . |
Hi, this is still an issue and just unexpected behavior (from a user's point of view)...
|
Current "latest" release here in github is 0.39.3, but in
https://console.cloud.google.com/gcr/images/cadvisor/GLOBAL/cadvisor
it is still tagged to 0.38.6 from 14 months ago (Dec. 2020)
The text was updated successfully, but these errors were encountered: