diff --git a/.github/workflows/on-pr.yaml b/.github/workflows/on-pr.yaml index 7b97533..69f6c0a 100644 --- a/.github/workflows/on-pr.yaml +++ b/.github/workflows/on-pr.yaml @@ -88,7 +88,7 @@ jobs: - name: Build image run: VERSION="${{ steps.tags.outputs.sha_short }}" DH_ORG="${{ github.repository_owner }}" make image - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 + uses: aquasecurity/trivy-action@a20de5420d57c4102486cdd9578b45609c99d7eb with: image-ref: 'ghcr.io/${{ github.repository }}:${{ steps.tags.outputs.sha_short }}' format: 'table' diff --git a/.github/workflows/on-tag.yaml b/.github/workflows/on-tag.yaml index 4a03ad5..ee15120 100644 --- a/.github/workflows/on-tag.yaml +++ b/.github/workflows/on-tag.yaml @@ -51,7 +51,7 @@ jobs: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.version }} - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 + uses: aquasecurity/trivy-action@a20de5420d57c4102486cdd9578b45609c99d7eb with: image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.version }}' format: 'table' diff --git a/.github/workflows/periodics-daily.yaml b/.github/workflows/periodics-daily.yaml index a7fa8c8..3cd6ef2 100644 --- a/.github/workflows/periodics-daily.yaml +++ b/.github/workflows/periodics-daily.yaml @@ -70,7 +70,7 @@ jobs: - name: Build artifacts run: VERSION="${{ steps.tags.outputs.sha_short }}" DH_ORG="${{ github.repository_owner }}" make image - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 + uses: aquasecurity/trivy-action@a20de5420d57c4102486cdd9578b45609c99d7eb with: image-ref: 'ghcr.io/${{ github.repository }}:${{ steps.tags.outputs.sha_short }}' format: 'table'