Skip to content

feat: scan image upon PR #21

feat: scan image upon PR

feat: scan image upon PR #21

Workflow file for this run

name: Security Scan
on:
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
scan:
uses: SFOE-prometheon/github-terraform-workflows/.github/workflows/ecr-build-scan-push.yml@v9
with:
dockerfile: Dockerfile.lambda
build-context: .
ecr-repository: drillapi
image-tag: pr-${{ github.event.pull_request.number }}
aws-region: eu-central-1
scan-only: true

Check failure on line 21 in .github/workflows/security-scan.yml

View workflow run for this annotation

GitHub Actions / Security Scan

Invalid workflow file

The workflow is not valid. .github/workflows/security-scan.yml (Line: 21, Col: 18): Invalid input, scan-only is not defined in the referenced workflow.
secrets:
aws-role: ${{ secrets.SFOE_DRILLAPI_PIPELINE_ROLE_DEV }}