Skip to content

Commit

Permalink
same but different approach to build and tag an test image
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Feb 1, 2024
1 parent 5e443aa commit 397e313
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
contents: read
security-events: write
steps:
- uses: voxpupuli/gha-build-and-publish-a-container@v2
- name: Checkout repository
uses: actions/checkout@v4

- name: Build Docker image
uses: docker/build-push-action@v5
with:
registry_password: ${{ secrets.GITHUB_TOKEN }}
publish: 'false'
tags: ci/pdc:${{ github.sha }}
tags: 'ci/pdc:${{ github.sha }}'
push: false

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
Expand Down

0 comments on commit 397e313

Please sign in to comment.