-
Notifications
You must be signed in to change notification settings - Fork 481
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
Clarification: --provenance false
fails on Buildx 0.10.0, but works with 0.10.2
?
#1608
Comments
Related issues (same error cited):
I have observed prior to upgrading Next week Github should be upgrading Docker Engine to v23 which will bring a newer BuildKit version. Perhaps by then buildx Forgot to mention that the CI has a build workflow that uses We only need to |
I am fairly certain I understand it now 👍
So, the only thing that changed was explicitly opting out with Closing as I'm fairly confident in the troubleshooting and resolution 😎 |
I looked at the release notes for
buildx
but there didn't seem to be any mention that would explain this.Recently updated a Github CI action where it was required to opt out of attestations via
provenance: false
. When runningbuildx
, our CI was inconsistent with versions used.0.10.0
failed as shown below, while0.10.2
was successful. There does not appear to be any difference in the logs beyondbuildx
version. Associated issue raised for Github Actionbuild-push-action
.Presumably this is a temporary issue, and
buildx 0.10.2
will be more commonly used in future CI runs (several re-runs were done but the version on failed runners did not get bumped yet).Any hints in the meantime as to why
--provenance false
is causing the error above? Is the option not properly handled in0.10.0
?Failed attempt to resolve
I noticed this PR regarding
--load
, that was added to0.10.1
:Perhaps we built with attestations previously as we were using the
3.3
version ofdocker/build-push-action
where it seems it was enabled by default. That PR suggests the feature is not compatible withbuildx --load
? So0.10.0
failed, and new releases ofbuildx
handled it properly?If that is it, clearing our CI image cache will probably resolve the issue 👍
UPDATE: Cleared entire CI cache and performed a full workflow re-run. No difference, still getting the same failure.
The text was updated successfully, but these errors were encountered: