Skip to content

Commit ddc8706

Browse files
committed
test new trivy db source
1 parent b45b397 commit ddc8706

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pr-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
- name: Set up Docker Buildx
2323
uses: docker/setup-buildx-action@v3
2424

25-
# - name: Login to Docker Hub
26-
# uses: docker/login-action@v3
27-
# with:
28-
# username: ${{ secrets.DOCKERHUB_READ_USER }}
29-
# password: ${{ secrets.DOCKERHUB_READ_TOKEN }}
25+
- name: Login to Docker Hub
26+
uses: docker/login-action@v3
27+
with:
28+
username: ${{ secrets.DOCKERHUB_READ_USER }}
29+
password: ${{ secrets.DOCKERHUB_READ_TOKEN }}
3030

3131
- name: Read Java Version
3232
shell: bash
@@ -49,7 +49,7 @@ jobs:
4949
load: true
5050

5151
- name: Scan java-${{ matrix.java-major-version}} image
52-
uses: hypertrace/github-actions/trivy-image-scan@main
52+
uses: hypertrace/github-actions/trivy-image-scan@trivy-db-public-ecr
5353
with:
5454
image: hypertrace/java-build
5555
tag: ${{ matrix.java-major-version}}

0 commit comments

Comments
 (0)