Skip to content

Commit

Permalink
Fix attest build provenance steps in publishing docker image examples (
Browse files Browse the repository at this point in the history
  • Loading branch information
mmb authored Feb 14, 2025
1 parent d5a606f commit 62e6673
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v2
with:
subject-name: {% raw %}${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}{% endraw %}
subject-name: index.docker.io/my-docker-hub-namespace/my-docker-hub-repository
subject-digest: {% raw %}${{ steps.push.outputs.digest }}{% endraw %}
push-to-registry: true
{% endif -%}
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v2
with:
subject-name: {% raw %}${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}{% endraw %}
subject-name: {% data reusables.package_registry.container-registry-hostname %}/{% raw %}${{ github.repository }}{% endraw %}
subject-digest: {% raw %}${{ steps.push.outputs.digest }}{% endraw %}
push-to-registry: true
{% endif -%}
Expand Down

0 comments on commit 62e6673

Please sign in to comment.