diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/cd-dev.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/cd.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml index 2390770..51a0ef1 100644 --- a/.github/workflows/cd-dev.yml +++ b/.github/workflows/cd-dev.yml @@ -36,6 +36,9 @@ jobs: steps: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.20.0 + env: + TRIVY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + TRIVY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} with: image-ref: 'docker.io/${{ secrets.DOCKERHUB_USERNAME }}/pico-web-dev:latest' format: 'sarif' diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 221acc2..05e2ce0 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,6 +29,9 @@ jobs: steps: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.20.0 + env: + TRIVY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + TRIVY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} with: image-ref: 'docker.io/${{ secrets.DOCKERHUB_USERNAME }}/pico-web:latest' format: 'sarif' |
