Skip to content

Commit

Permalink
ops: tweaked trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
ironhalik committed Apr 9, 2024
1 parent c2b2ed7 commit d9b5abc
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
push: false
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: tivix/docker-nginx:${{ github.sha }}, tivix/docker-nginx:${{ env.CI_REF_NAME }}
Expand All @@ -36,12 +36,3 @@ jobs:
severity: "CRITICAL,HIGH"
security-checks: "vuln"
hide-progress: true
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: tivix/docker-nginx:${{ github.sha }}, tivix/docker-nginx:${{ env.CI_REF_NAME }}

0 comments on commit d9b5abc

Please sign in to comment.