Skip to content
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

build: error on attests on non-multiplatform driver #1988

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

jedevc
Copy link
Collaborator

@jedevc jedevc commented Aug 4, 2023

On drivers that do not support multi-platform builds (the default docker driver), we do not support building attestations (unless using the containerd store).

We need to check this feature before attempting to build using attestations.

(thanks @cdupuis for the find 🎉)

@jedevc jedevc added kind/bug Something isn't working needs-cherry-pick/v0.11 labels Aug 4, 2023
On drivers that do not support multi-platform builds (the default
`docker` driver), we do not support building attestations (unless using
the containerd store).

We need to check this feature before attempting to build using
attestations.

Also adds a test to ensure that attestations can be pushed to registries
at all, and that it adequately fails on the docker driver.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc force-pushed the fix-attests-on-docker-driver branch from 9e17179 to e206c58 Compare August 4, 2023 14:29
@jedevc jedevc marked this pull request as ready for review August 4, 2023 14:29
@jedevc jedevc merged commit 1f61de0 into docker:master Aug 4, 2023
59 checks passed
@jedevc jedevc deleted the fix-attests-on-docker-driver branch August 4, 2023 15:07
@jedevc
Copy link
Collaborator Author

jedevc commented Aug 4, 2023

Hm, I added needs-cherry-pick/v0.11, but since this bug actually was there since v0.10, is that the right call?

@crazy-max
Copy link
Member

Hm, I added needs-cherry-pick/v0.11, but since this bug actually was there since v0.10, is that the right call?

Yes I think it still needs to be backported

@dvdksn
Copy link
Contributor

dvdksn commented Aug 4, 2023

I think we could add a note in attestation docs too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants