Image push fails when tags contains 2 or more items
See original GitHub issueBehaviour
Steps to reproduce this issue
use following workflow https://github.com/ElisaOyj/kops-autoscaler-openstack/blob/master/.github/workflows/master.yml
- it should have login to docker registry
- it should have push to registry with more than 2 tags
Expected behaviour
I expect that credentials are used to all tags that are listed.
Actual behaviour
https://github.com/ElisaOyj/kops-autoscaler-openstack/runs/1122690450?check_suite_focus=true I have executed this now twice but always only the first tag will use credentials and other tags will return http code 401 from registry.
We can see only one tag now in registry latest
but another one is missing
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Docker push: push image once with multiple tags
If you want to push all tags for an image, you can use the --all-tags option: docker image push --all-tags repository/image_name.
Read more >1241950 – "docker push" selects the wrong image
Description of problem: I have an Image with name "fabric8/fabric8-gogs-find-projects:1.4.1" which I successfully build on the Docker host.
Read more >Docker registry tags view shows error (#293845) - GitLab.org
Summary. Viewing tags for an image with two image tags (approx 1.5GB and 2.5GB in size) shows the error "Something went wrong while...
Read more >Failed to push · Codefresh | Docs
This issue occurs because of a race condition when trying to push to a docker registry the same image at the same time....
Read more >Pushing and pulling images | Container Registry documentation
Pushing (uploading) and pulling (downloading) images are two of the most ... If you want to label this version of the image with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zetaab Encountered the same issue with GitHub Container Registry but not with DockerHub:
@tonistiigi told me it could be an issue with auth like docker/buildx#392. Can you try with:
Sorry for the delayed response. I can confirm it works now for me. Thanks a lot!