question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest tag on dockerhub points to snapshot instead of latest stable

See original GitHub issue

Current Behavior:

On registry dockerhub registry: dependencytrack/apiserver:latest image has digest 4d9653d477fe which corresponds to dependencytrack/apiserver:snapshot image

Reference

Expected Behavior:

dependencytrack/apiserver:latest should point to latest stable version, namely dependencytrack/apiserver:4.5.0 as of today

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
nscurocommented, May 20, 2022

For testing purposes I created the dependencytrack/apiserver:issue-1644 tag from the current dependencytrack/apiserver:snapshot tag:

docker buildx imagetools create --tag dependencytrack/apiserver:issue-1644 dependencytrack/apiserver:snapshot

and it worked as expected: https://hub.docker.com/layers/217931103/dependencytrack/apiserver/issue-1644/images/sha256-63c092bc4be6720199a68f864fc7fd4cb71ea2a1b3097426b9fa1db7a732df06?context=repo

Both platfoms are included and the image digests match. So we can “repair” the latest tag this way.

1reaction
k3rnelpan1c-devcommented, May 20, 2022

@stevespringett

currently you will have to re-tag and push latest manually on your machine.

i.e. (assuming you use Docker or Podman locally)

docker pull docker.io/dependencytrack/apiserver:4.5.0
docker tag docker.io/dependencytrack/apiserver:4.5.0 docker.io/dependencytrack/apiserver:latest
docker push docker.io/dependencytrack/apiserver:latest

sorry for missing the latest tag logic in the original CI, but your changes cause the latest tag to follow the edge development on the default branch.

I will be doing more CI work this weekend / later today, so I will get on fixing this ASAP

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's Wrong With The Docker :latest Tag? - vsupalov.com
Latest is Just a Tag ¶ ... Some people expect that :latest always points to the most-recently-pushed version of an image. That's not...
Read more >
The misunderstood Docker tag: latest | by Marc Campbell
Docker images have a tag named latest which doesn't work as you expect. ... to Docker Hub, I'm going to build, tag and...
Read more >
Understanding Docker's “latest” Tag - How-To Geek
Docker tags are used to identify images by name. Each image can have multiple tags assigned. Tags look similar to my-image:latest, with the ......
Read more >
Docker Tagging: Best practices for tagging and versioning ...
Notice the original tags are now pointing to the new digests (3rp, 1n4) ... rather stable implies the image should be stable, for...
Read more >
Container Image Versioning
A common practice is to tag every release with :latest independent if it is a development snapshot or the final release. Every successful...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found