docker / scout-action

Docker Scout GitHub Action
https://docker.com/products/docker-scout
Other
91 stars 29 forks source link

Multi-arch image issue/suggestions #53

Closed NeilJed closed 1 week ago

NeilJed commented 3 months ago

I'm building multi-architecture images (amd64/arm64) and would like to be able to scan them a bit more easily with the action. Currently I have two issues:

  1. If I want to scan multiple architectures, I have to run the action multiple times. It would be nice if I could give the architectures as a list in a single action step. i.e. platforms: linxux/amd64,linux/arm64 or platforms: all

  2. If I do use multiple steps, this works, but the summary added to the annotations does not show which platform the results are for which makes it impossible to tell which is which. However the platform is shown in the output in the build log:

Screenshot 2024-08-27 at 16 25 17

versus:

Screenshot 2024-08-27 at 16 26 02

While I appreciate point 1 might not be a quick solution, could the platform at least be added in the output for build annotations?

NeilJed commented 1 week ago

Was fixed here (hopefully) https://github.com/docker/scout-cli/issues/157