Skip to content

Commit

Permalink
Updated build script with Trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
AeonRemnant committed Sep 20, 2024
1 parent 4283251 commit 409e3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
sarif_file: 'trivy-results.sarif'

- name: Tag and Push Docker image to GHCR
if: success() # Only push if the Trivy scan succeeds
if: success()
run: |
docker tag heartflame-fleet:latest ghcr.io/heartflamesoftware/heartflame-fleet:${{ github.sha }}
docker push ghcr.io/heartflamesoftware/heartflame-fleet:${{ github.sha }}

0 comments on commit 409e3f8

Please # to comment.