File tree 1 file changed +2
-2
lines changed
content/actions/use-cases-and-examples/publishing-packages
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116
116
- name : Generate artifact attestation
117
117
uses : actions/attest-build-provenance@v2
118
118
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
120
120
subject-digest : {% raw %}${{ steps.push.outputs.digest }}{% endraw %}
121
121
push-to-registry : true
122
122
{% endif -%}
@@ -229,7 +229,7 @@ jobs:
229
229
- name : Generate artifact attestation
230
230
uses : actions/attest-build-provenance@v2
231
231
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 %}
233
233
subject-digest : {% raw %}${{ steps.push.outputs.digest }}{% endraw %}
234
234
push-to-registry : true
235
235
{% endif -%}
You can’t perform that action at this time.
0 commit comments