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
Set DOCKER_CLI_EXPERIMENTAL=enabled for images using buildx #98672
Conversation
In order to use buildx with docker versions prior to v20.10 experimental features must be enabled. Setting at build time ensures that they are in case they have not already been at the environment scope. Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
In order to use buildx with docker versions prior to v20.10 experimental features must be enabled. Setting at build time ensures that they are in case they have not already been at the environment scope. Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Currently breaking the new canary jobs: /lgtm |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, hasheddan, justaugustus, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@BenTheElder agreed 👍 getting the job unstuck is priority number one but I will make sure to follow up |
Thanks gents! ❤️ |
#98908 to track follow-ups about image builds |
Presubmit callers of
We still need to fully fix this. Will look more later this weekend perhaps. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Images using buildx will fail with versions prior to v20.10 due to experimental features being off by default. It is possible the environment will have experimental features enabled, but this explicitly does so if not.
Which issue(s) this PR fixes:
Fixes #98646
Special notes for your reviewer:
@saschagrunert I couldn't immediately identify why the experimental features are enabled in
bootstrap
but notk8s-ci-builder
given that they use almost the exact same setup. This should fix the failure for now, but we should find root cause there and also consider the maintenance burden of trying to keep these two images sort of in sync for now./assign @justaugustus @BenTheElder @dims
xref #98569 (comment)
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: