Skip to content

Commit

Permalink
Add fossa scan for image (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
julgircast authored Jul 27, 2023
1 parent 026348d commit ae4b9ca
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,16 @@ jobs:
platforms: linux/arm64,linux/amd64
tags: |
us-docker.pkg.dev/castai-hub/library/audit-logs-receiver:${{ env.RELEASE_TAG }}
us-docker.pkg.dev/castai-hub/library/audit-logs-receiver:latest
us-docker.pkg.dev/castai-hub/library/audit-logs-receiver:latest
- name: Docker pull for fossa main
if: github.event_name == 'release'
run: docker pull us-docker.pkg.dev/castai-hub/library/audit-logs-receiver:${{ env.RELEASE_TAG }}

- name: FOSSA scan docker image
if: github.event_name == 'release'
continue-on-error: true
uses: fossas/fossa-action@v1
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
container: us-docker.pkg.dev/castai-hub/library/audit-logs-receiver:${{ env.RELEASE_TAG }}

0 comments on commit ae4b9ca

Please sign in to comment.