You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build a arm architecture only docker image and push to ECR
Use trivy to download and scan the image
Expected behaviour
Trivy should perform the requested security scan
Actual behaviour
Trivy tried to pull down the amd64 image even tho its running on an ARM runner.
2023-01-11T03:31:03.726Z FATAL image scan error: scan error: unable to initialize a scanner: unable to initialize a docker scanner: 4 errors occurred:
* unable to inspect the image (***.dkr.ecr.***.amazonaws.com/image:tag): Error: No such image: ***.dkr.ecr.***.amazonaws.com/image:tag
* unable to initialize Podman client: no podman socket found: stat podman/podman.sock: no such file or directory
* containerd socket not found: /run/containerd/containerd.sock
* no child with platform {Architecture:amd64 OS:linux OSVersion: OSFeatures:[] Variant: Features:[]} in index ***.dkr.ecr.***.amazonaws.com/image:tag
Behaviour
Steps to reproduce this issue
Expected behaviour
Actual behaviour
Configuration
The text was updated successfully, but these errors were encountered: