Skip to content

Commit 3e1b36f

Browse files
committed
Fix attestation subject name?
1 parent 634a97a commit 3e1b36f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: meta
4141
uses: docker/metadata-action@v5
4242
with:
43-
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ github.repository }}
43+
images: ${{ env.REGISTRY }}/${{ github.repository }}
4444

4545
- name: Build and push container image
4646
id: push
@@ -56,6 +56,6 @@ jobs:
5656
- name: Generate artifact attestation
5757
uses: actions/attest-build-provenance@v2
5858
with:
59-
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
59+
subject-name: ${{ env.REGISTRY }}/${{ github.repository }}
6060
subject-digest: ${{ steps.push.outputs.digest }}
6161
push-to-registry: true

0 commit comments

Comments
 (0)