diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8c97d7c6..91227714 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -60,7 +60,7 @@ jobs: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: - image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}' + image-ref: '${{ fromJSON(steps.meta.outputs.json).tags[0] }}' format: 'table' exit-code: '1' ignore-unfixed: true