canonical / charmed-kubeflow-workflows

Repository that containes GitHub workflows and shareable configs for Charmed Kubeflow
0 stars 0 forks source link

trivy scanning fails with Unable to find image locally #33

Closed orfeas-k closed 9 months ago

orfeas-k commented 9 months ago

Bug Description

Scanning ROCKs with the trivy action fails with. The scanning is implemented in build_scan_and_test_rock.yaml.

Unable to find image 'a3cc5c:b4d78e6ef1dc40bdbdba5798f8e37a81' locally
docker: Error response from daemon: pull access denied for a3cc5c, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

To Reproduce

Trigger the workflow for a ROCK from this commit

Environment

Github runners

Relevant Log Output

Unable to find image 'a3cc5c:b4d78e6ef1dc40bdbdba5798f8e37a81' locally
docker: Error response from daemon: pull access denied for a3cc5c, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

Additional Context

No response

orfeas-k commented 9 months ago

Debugging

Solution

Thus, solving this requires to remove the line remove-docker-images: "true" since the default value is false.