Skip to content

Commit

Permalink
Use trivy mirror (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
AudunSorheim authored Oct 7, 2024
1 parent be8b4af commit e4ba38c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actions/boot-jar-to-docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ runs:
./gradlew bootJar -x test
- name: Push docker image to GAR
uses: nais/docker-build-push@v0
env:
TRIVY_JAVA_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-java-db:1"
if: ${{ github.actor != 'dependabot[bot]' }}
id: docker-build-push
with:
Expand Down
2 changes: 2 additions & 0 deletions actions/jar-to-docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ runs:
./gradlew shadowJar -x test
- name: Push docker image to GAR
uses: nais/docker-build-push@v0
env:
TRIVY_JAVA_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-java-db:1"
if: ${{ github.actor != 'dependabot[bot]' }}
id: docker-build-push
with:
Expand Down

0 comments on commit e4ba38c

Please sign in to comment.