Skip to content

No snap error while trying to initiate scan-action #542

@theincognitogeek

Description

@theincognitogeek

I have my image built with the github-action docker/build-push-action@v3 and it is available on my github runner.
Post this step if I execute the below step

- name: Grype scan image uses: anchore/scan-action@v6 id: grype-scan with: image: ${{ env.IMAGE_BUILD_TAG }} fail-build: false severity-cutoff: high only-fixed: true output-format: sarif

I am receiving the error
ERROR failed to catalog: errors occurred attempting to resolve <imageURI> snap: snap file "<Image-URI>" does not exist
can someone help me with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions