diff --git a/.github/workflows/amazon-inspector-image-scan.yml b/.github/workflows/amazon-inspector-image-scan.yml index 90ba2a5..b9b330a 100644 --- a/.github/workflows/amazon-inspector-image-scan.yml +++ b/.github/workflows/amazon-inspector-image-scan.yml @@ -49,9 +49,9 @@ jobs: tags: ${{ inputs.docker-image-name }}:latest - name: Setup Amazon Inspector SBOM Generator id: setup-sbomgen - uses: build-failure/setup-inspector-sbomgen@v1 + uses: build-failure/setup-inspector-sbomgen@v1.0.0 - name: Scan Local Image - run: "$inspector_sbomgen --image ${{ inputs.docker-image-name }}:latest -o $inspector_sbomgen_output_path" + run: "$inspector_sbomgen container --image ${{ inputs.docker-image-name }}:latest -o $inspector_sbomgen_output_path" - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 with: