diff --git a/.github/workflows/docker-pull-test.yaml b/.github/workflows/docker-pull-test.yaml index 0616c334c..b3e28bd8a 100644 --- a/.github/workflows/docker-pull-test.yaml +++ b/.github/workflows/docker-pull-test.yaml @@ -91,7 +91,7 @@ jobs: trivy image \ --db-repository ${{ env.TRIVY_DATABASES }} \ --java-db-repository ${{ env.TRIVY_JAVA_DATABASES }} \ - ${{ inputs.registry-name }}.azurecr.io/${{ inputs.image }}:${{ github.head_ref }} \ + ${{ inputs.registry-name }}.azurecr.io/${{ inputs.image }}:${{ inputs.branch-name }} \ --exit-code 10 --timeout=20m --scanners vuln --severity CRITICAL --quiet EXIT_CODE=$?