Skip to content

Commit

Permalink
Add git checkout back in as trivy needs it to push results.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarg3nt committed Oct 29, 2024
1 parent 8cbf71c commit 8c0b942
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
name: Build
runs-on: "ubuntu-20.04"
steps:
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

- name: Log into registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
Expand All @@ -45,8 +42,8 @@ jobs:
with:
egress-policy: audit

# - name: Checkout code
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Build and push Docker image
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
Expand Down

0 comments on commit 8c0b942

Please sign in to comment.