Skip to content

Commit

Permalink
Fixed inputs reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Sep 24, 2024
1 parent 46a3b75 commit f79d76d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set summary
run: echo "${{ github.event.inputs.summary }}" >> $GITHUB_STEP_SUMMARY
- if: github.event.inputs.tag == '5.x'
run: echo "${{ inputs.summary }}" >> $GITHUB_STEP_SUMMARY
- if: inputs.tag == '5.x'
uses: druzsan/setup-matrix@v2
with:
matrix: |
images: ${{ vars.IMAGES }}
exclude:
- images: mailpit
- if: github.event.inputs.tag != '5.x'
- if: inputs.tag != '5.x'
uses: druzsan/setup-matrix@v2
with:
matrix: |
Expand All @@ -54,7 +54,7 @@ jobs:
id: checkout
uses: actions/checkout@main
with:
ref: ${{ github.event.inputs.tag }}
ref: ${{ inputs.tag }}
outputs:
ref: ${{ steps.checkout.outputs.ref }}
commit: ${{ steps.checkout.outputs.commit }}
Expand All @@ -68,7 +68,7 @@ jobs:
id: scan
uses: crazy-max/ghaction-container-scan@v3
with:
image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:${{ github.event.inputs.tag }}
image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:${{ inputs.tag }}
dockerfile: ./images/${{ matrix.images }}
- name: Upload SARIF file
if: ${{ steps.scan.outputs.sarif != '' }}
Expand Down

0 comments on commit f79d76d

Please sign in to comment.