Skip to content

Commit

Permalink
scan with syft
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterp committed Feb 29, 2024
1 parent 912b564 commit ddc0999
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/sscs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,31 @@ jobs:
git config --local gpg.x509.program gitsign # Use gitsign for signing
git config --local gpg.format x509 # gitsign expects x509 args
gitsign verify --certificate-identity-regexp='sauterp.*' --certificate-oidc-issuer='https://github.com/login/oauth' HEAD
# now that we verified the commit we build the image
- run: make go.mk
- uses: ./go.mk/.github/actions/setup

- name: Build Docker image
run: make docker

# - name: Log in to Docker Hub
# uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Tag Docker Image
run: |
docker tag exoscale/csi-driver:latest exoscale/csi-driver-integ-test:sscs
# - name: Push Docker Image
# run: |
# docker push exoscale/csi-driver-integ-test:sscs

- uses: anchore/sbom-action/download-syft@v0

- uses: scan the image
shell: bash
run: |
syft scan exoscale/csi-driver-integ-test:sscs

0 comments on commit ddc0999

Please sign in to comment.