Skip to content

Commit b15eaa9

Browse files
authored
Merge pull request #54413 from github/repo-sync
Repo sync
2 parents e0627cd + 62e6673 commit b15eaa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/actions/use-cases-and-examples/publishing-packages/publishing-docker-images.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
- name: Generate artifact attestation
117117
uses: actions/attest-build-provenance@v2
118118
with:
119-
subject-name: {% raw %}${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}{% endraw %}
119+
subject-name: index.docker.io/my-docker-hub-namespace/my-docker-hub-repository
120120
subject-digest: {% raw %}${{ steps.push.outputs.digest }}{% endraw %}
121121
push-to-registry: true
122122
{% endif -%}
@@ -229,7 +229,7 @@ jobs:
229229
- name: Generate artifact attestation
230230
uses: actions/attest-build-provenance@v2
231231
with:
232-
subject-name: {% raw %}${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}{% endraw %}
232+
subject-name: {% data reusables.package_registry.container-registry-hostname %}/{% raw %}${{ github.repository }}{% endraw %}
233233
subject-digest: {% raw %}${{ steps.push.outputs.digest }}{% endraw %}
234234
push-to-registry: true
235235
{% endif -%}

0 commit comments

Comments
 (0)