Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Unable to run scan in Github Actions #152

@Duceswild99

Description

@Duceswild99

Attempting to run:

      - name: Scan image for vulnerabilities
        uses: Azure/container-scan@v0.1
        with:
          image-name: ${{ secrets.DOCKERHUB_USERNAME }}/myApp:${{ steps.vars.outputs.sha_short }}

Produces the following error:

Scanning for vulnerabilties in image: ***/myApp:ae84463
Error: FATAL	image scan error: scan error: unable to initialize a scanner: unable to initialize a docker scanner: 4 errors occurred:
Error: An error occurred while scanning container image: ***/myApp:ae84463 for vulnerabilities.

Not doing anything special so not sure why this isn't working. It is worth noting this is a net new setup (so this has not worked before).

Metadata

Metadata

Assignees

No one assigned

    Labels

    idleInactive for 14 daysneed-to-triageRequires investigation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions