-
Notifications
You must be signed in to change notification settings - Fork 9
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
DockerHub Tags Are Out Of Sync With Source Repo #15
Comments
Just tagging @rnorth @mdelapenya @gesellix @kiview to bump this and see if we can't get some traction here 🙂 |
Mmm I think we need a release for the project. On it |
@the-wondersmith the build is running: https://github.com/testcontainers/helloworld/actions/runs/12295845594 🤞 |
Good news: looks like the build was successful 🎉Bad news: looks like
|
I think it's because we are on-purposely not updating the latest tag 🤔 There are reasons for that regarding not allowing users consume "latest" and eventually cause unexpected errors |
Ah. Well... I've taken the liberty of opening a PR that fixes it, if there's interest in it. If that's not the desired behavior though, maybe it'd be a better idea to remove the |
I think this would be the best, but I'm not sure if an existing tag can be removed completely. An option would be to push an intentionally invalid image with the Keeping the |
@gesellix Did a bit of cursory digging, found a pretty decent write-up of deleting a single tag from an image repo. The tl;dr is that the tool of choice appears to be regclient (specifically, its regctl tag rm docker.io/testcontainers/helloworld:latest You should be able to verify with: regctl tag ls docker.io/testcontainers/helloworld For the sake of completeness, I did test it myself with one of my own repos, and it does indeed surgically delete the specified tag. The DockerHub website appears to lag a bit behind though, so it'll still show there for a bit even though it will no longer resolve as a valid tag if you do something like |
While working on some improvements for the testcontainers-rs crate, I noticed several unit tests absolutely refused to pass on my local machine. I eventually tracked the issue down to an architecture mismatch for the
testcontainers/helloworld
image.The tl;dr is:
It would appear that something might be up with the build bot?
I'm able to do a sort of partial mitigation in the
testcontainers-rs
test suite by replacing instances ofwith
But it seems like it'd be a much better idea to ensure that the
latest
tag is actually in sync with the git repo, then change the test suite to target thelatest
tag instead of hard coding1.1.0
. (Or possibly to just use the same env var override I did 🤔. Something to be discussed in that repo I suppose 😅)In either case, would it be possible to get the multi-arch images /
latest
tag synced up?The text was updated successfully, but these errors were encountered: