diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 90aea707..113978c4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -47,7 +47,6 @@ jobs: - name: Attest build provenance uses: actions/attest-build-provenance@v1 with: - subject-path: ${{ github.workspace }}/Dockerfile # Adjusted to point directly to Dockerfile - subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} + subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true - github-token: ${{ secrets.GITHUB_TOKEN }}