Skip to content

Commit

Permalink
ci: replace trivy scan action with one in Flagsmith/actions repo (#4766)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Nov 1, 2024
1 parent afec858 commit ca8b9ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 79 deletions.
77 changes: 0 additions & 77 deletions .github/actions/trivy-scan-image/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/.reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:

- name: Scan ${{ steps.image-tag.outputs.image-tag }} image
id: trivy
uses: ./.github/actions/trivy-scan-image
uses: Flagsmith/actions/trivy-scan-image@v0.3.0
if: inputs.scan
with:
image-tag: ${{ steps.image-tag.outputs.image-tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/platform-docker-trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Scan ${{ matrix.image-name }}:main image
id: trivy
uses: ./.github/actions/trivy-scan-image
uses: Flagsmith/actions/trivy-scan-image@v0.3.0
with:
image-tag: ${{ env.REGISTRY_URL }}/flagsmith/${{ matrix.image-name }}:main
category: ${{ matrix.image-name }}
Expand Down

0 comments on commit ca8b9ed

Please sign in to comment.