Skip to content

Commit

Permalink
ci: needs trivy setup
Browse files Browse the repository at this point in the history
Co-authored-by: ybelmekk <[email protected]>
Co-authored-by: sindrerh2 <[email protected]>
  • Loading branch information
3 people committed Oct 7, 2024
1 parent f35642e commit c751ae7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

build:
name: Build and push Docker container
needs: test
needs: [test, trivy-setup]
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-20.04
outputs:
Expand All @@ -60,7 +60,6 @@ jobs:
run: ./gradlew bootJar -x test

- name: Push docker image to GAR and sign image
needs: trivy-setup
uses: nais/docker-build-push@v0
id: docker-build-push
with:
Expand Down

0 comments on commit c751ae7

Please sign in to comment.