Skip to content

Commit

Permalink
fix(ci): Fix ghcr push error (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiryoh authored Oct 27, 2024
1 parent a8f8e67 commit 910b658
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-trivy-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Download and extract the vulnerability DB
run: |
mkdir -p $GITHUB_WORKSPACE/.cache/trivy/db
Expand Down

0 comments on commit 910b658

Please sign in to comment.