Skip to content

Commit 1d57a58

Browse files
chore(ci): login to chainguard for trivy build
1 parent 68d4fab commit 1d57a58

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/trivy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
- name: Set up Docker Buildx
2525
uses: docker/setup-buildx-action@v3
2626

27+
- name: Log in to Chainguard Container Registry
28+
uses: docker/login-action@v3
29+
with:
30+
registry: cgr.dev
31+
username: ${{ secrets.CHAINGUARD_USERNAME }}
32+
password: ${{ secrets.CHAINGUARD_PASSWORD }}
33+
2734
- name: Build image
2835
uses: docker/build-push-action@v6
2936
with:

0 commit comments

Comments
 (0)