-
Notifications
You must be signed in to change notification settings - Fork 581
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
Image push fails when tags contains 2 or more items #126
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: -
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
driver-opts: image=moby/buildkit:master |
driver-opts didn't work here. Still when pushing multiple tags: https://github.com/chriskinsman/tilloo/runs/1147251118?check_suite_focus=true |
It works now (https://github.com/crazy-max/test-docker-action/runs/1150312201?check_suite_focus=true#step:7:228) |
@crazy-max Tried to make my build workflow as similar as possible to yours. Couldn't get it working until I removed the cache action. Now without caching it works. Once I changed the cache key/restore-keys to a new key so I no longer used any old cached output it worked. |
Hum that's strange, the cache is not propagated if a step fails ( I will dig this out. Thanks for your feedback. |
still not working for me |
I am having what looks like the same issue. I'm using GitHub Container Registry (ghcr.io), and one of the tags gets pushed, the other doesn't. |
Sorry for the delayed response. I can confirm it works now for me. |
Behaviour
Steps to reproduce this issue
use following workflow https://github.com/ElisaOyj/kops-autoscaler-openstack/blob/master/.github/workflows/master.yml
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 missingThe text was updated successfully, but these errors were encountered: