Skip to content

Commit

Permalink
Log into GitHub Container Registry for unit test
Browse files Browse the repository at this point in the history
Ref: shipwright-io#1689

Log into GitHub Container Registry for unit test so that Trivy database
download can be done in an authenticated context.

Signed-off-by: Matthias Diester <[email protected]>
  • Loading branch information
HeavyWombat authored and dorzel committed Oct 30, 2024
1 parent 937c994 commit 875af93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Login to container registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login -u ${{ github.repository_owner }} --password-stdin ghcr.io
- name: Install Go
uses: actions/setup-go@v5
with:
Expand Down

0 comments on commit 875af93

Please sign in to comment.