-
Notifications
You must be signed in to change notification settings - Fork 0
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 vulnerability scanning updates have broken the Validate docker build #78
Comments
Whew! Wow, today I learned there's a reason the GitHub Action is called Going down the rabbit hole, I've learned that there's a difference between a Docker image and a Docker manifest file. When you do
you're building an image and
But you can't do that with multiplatform images: $ docker buildx build --load --tag whatever --platform linux/arm64,linux/amd64 .
ERROR: docker exporter does not currently support exporting manifest lists The difference is that there's really no such a thing as a "multiplatform image"; an image is always for a single platform. When you use
The local Docker daemon has no idea what to do with "manifest lists" so it rejects it. A container registry does understand manifest lists, so the only thing you can do with a "multiplatform image" is push it:
Since GitHub Actions inherently supports multiplatform images, it's But we want to leave the "image" in the local Docker daemon so we can use the Grype scanning tool; that's why in the yaml we said: uses: docker/build-push-action@v6
with:
load: true
push: false I had assumed this would work fine with multiplatform images. Sadly, it does not. What to do? Well there are several alternatives. Use
|
Status: Educational rabbithole. Couple workaround possible βοΈ . Going to go with @nutjob4life Verdict: shelve it |
@jordanpadams I think we can safely close this, right? |
Closing |
Checked for duplicates
Yes - I've already checked
π Describe the bug
Validate builds have been failing since the docker vulnerability updates.
π΅οΈ Expected behavior
I expected the build to work
π To Reproduce
π₯ Environment Info
GitHub Action env
π Version of Software Used
latest snapshot
βοΈ Engineering Details
NOTE: This is blocking tagging of the repo. We can merge rollback of changes if we cannot find a solution quickly.
π Integration & Test
No response
The text was updated successfully, but these errors were encountered: