Skip to content

Commit

Permalink
ci: Correct scout scan step
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicconike committed Jun 30, 2024
1 parent b64b7d1 commit 700840d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
pull-requests: write
outputs:
released: ${{ steps.github-release.outputs.released }}
version: ${{ steps.github-release.outputs.new_version }}
steps:
- name: GitHub App Token
uses: actions/create-github-app-token@v1
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:
load: ${{ github.event_name == 'pull_request' }}
tags: |
${{ vars.DOCKER_USERNAME }}/steam-stats:latest
${{ steps.meta.outputs.tags }}
${{ needs.release.outputs.released == 'true' && vars.DOCKER_USERNAME }}/steam-stats:${{ needs.release.outputs.version }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -109,7 +110,7 @@ jobs:
uses: docker/scout-action@v1.10.0
with:
command: quickview, cves
image: ${{ steps.meta.outputs.tags }}
image: ${{ vars.DOCKER_USERNAME }}/steam-stats:latest
to: ${{ vars.DOCKER_USERNAME }}/steam-stats:latest
only-severities: critical, high
only-fixed: true
Expand Down

0 comments on commit 700840d

Please sign in to comment.