-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Scans only work with amd64 images #9
Comments
Hum yeah that might be an issue with the container scanner. Can you try with: -
name: Build and push
uses: docker/[email protected]
with:
files: |
./docker-bake.hcl
${{ steps.docker_meta.outputs.bake-file }}
targets: image-all
push: true
-
name: OCI
uses: docker/[email protected]
with:
files: |
./docker-bake.hcl
${{ steps.docker_meta.outputs.bake-file }}
targets: image-all
set: *.output=type=oci,dest=/tmp/image.tar
-
name: Scan for vulnerabilities
uses: crazy-max/ghaction-container-scan@v1
with:
tarball: /tmp/image.tar The Or you can build your image matching the current platform and build and push the multi-platform one after that: https://github.com/crazy-max/ghaction-container-scan#build-scan-and-push-your-image |
Yeah I'd like to try and avoid building for amd64 in this instance just to scan it and then throw it away. Tried your suggestion but
Full logs: |
Yeah you right, we might need a multi exporter on BuildKit to handle that easily: moby/buildkit#1555 |
Hi, it appears that the upstream bug/limitation has now been addressed (moby/buildkit#1555, moby/buildkit#4134)... any work still needed on your side to complete support for this or can this issue now be marked as closed/resolved? |
Still appears to be trying to use amd64 images, even though on an arm GitHub action. |
Behaviour
Steps to reproduce this issue
Expected behaviour
Scanning should be possible as trivy provide arm binaries
Actual behaviour
Configuration
Logs
logs_72.zip
The text was updated successfully, but these errors were encountered: