From b52ff1e62c015ba55416c914c836acb580b346bc Mon Sep 17 00:00:00 2001 From: Nick Santamaria Date: Thu, 7 Nov 2024 10:58:56 +1100 Subject: [PATCH] Added docker login to vulnerability scan workflow. --- .github/workflows/vulnerability-scan.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index e044aac0..e7d3ceff 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -64,6 +64,12 @@ jobs: strategy: matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} steps: + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Scan for vulnerabilities id: scan uses: crazy-max/ghaction-container-scan@v3