-
Notifications
You must be signed in to change notification settings - Fork 161
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
400 Bad Request when pushing manifest to GCR using v1.0.2 #29
Comments
Maybe linked to moby/buildkit#1143. Are you able to push from your computer? |
Not sure about by computer, but it works using the previous version v1.0.1. |
Ok transfer back here then. So it looks like the latest buildkit container image is the issue here. Can you try with: - name: Set up Docker Buildx
uses: docker/[email protected]
with:
driver-opts: image=moby/buildkit:buildx-stable-1 cc. @tonistiigi |
Will try it. Shouldn't the latest change with the v0.8-beta image be reverted and whomever needed this |
@crazy-max I tested your proposed solution and it helped me. - name: Set up Docker Buildx
uses: docker/[email protected]
with:
driver-opts: image=moby/buildkit:buildx-stable-1 |
Sorry for the inconvenience this brings to your workflow but this temporary fix solves issues related to the default behavior for the Git context of the build-push action. Could you follow this troubleshooting guide to help us (buildkitd-flags debug and pushing with containerd)? |
@crazy-max
and the error on build and push step:
Can't test that workflow with containerd from troubleshouting guide on that prod pipeline. |
For reference, after trying some solutions posted on this thread (which did not work for us) we found another workaround:
|
@jriguera @dmitryzykov @akalineskou PR has been merged to master on buildkit repo. Can you test with the following step please? Thanks. - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
driver-opts: image=moby/buildkit:master |
@jriguera @dmitryzykov @akalineskou You should now be able to use the default values for - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 |
I can confirm that the default values for setup-buildx-action works fine
for me now.
Thanks for fixing that.
…On Sat, Oct 24, 2020 at 12:15 AM CrazyMax ***@***.***> wrote:
@jriguera <https://github.com/jriguera> @dmitryzykov
<https://github.com/dmitryzykov> @akalineskou
<https://github.com/akalineskou> You should now be able to use the
default values for setup-buildx-action as the default buildkit container
image has been updated:
- name: Set up Docker Buildx
uses: ***@***.***
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADZMX3XRBHPAXXHWVO4QTXDSMHW5RANCNFSM4SGKLAMA>
.
|
Behaviour
Steps to reproduce this issue
Expected behaviour
Actual behaviour
#24 pushing manifest for us.gcr.io/REDACTED
#24 pushing manifest for us.gcr.io/REDACTED 0.2s done
#24 ERROR: failed commit on ref "manifest-sha256:013abc4ac51e93f9aca0650ba16921c3794ca76a69d2aad7a8bb2ff20122b7c0": unexpected status: 400 Bad Request
failed to solve: rpc error: code = Unknown desc = failed commit on ref "manifest-sha256:013abc4ac51e93f9aca0650ba16921c3794ca76a69d2aad7a8bb2ff20122b7c0": unexpected status: 400 Bad Request
Error: The process '/usr/bin/docker' failed with exit code 1
Configuration
Logs
Can't really post the logs since it's for a private repository
The text was updated successfully, but these errors were encountered: