Skip to content

Commit 4173d4e

Browse files
Try and fix docker
1 parent e27b799 commit 4173d4e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/docker.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
GHCR: ghcr.io
99
DCR: index.docker.io
1010
IMAGE_NAME: ${{ github.repository }}
11+
IMAGE_NAME_SHORT: webengineering
1112

1213
jobs:
1314
dockerhub:
@@ -32,7 +33,7 @@ jobs:
3233
id: meta
3334
uses: docker/metadata-action@v5
3435
with:
35-
images: ${{ env.IMAGE_NAME }}
36+
images: definitelynotsimon13/${{ env.IMAGE_NAME_SHORT }}
3637

3738

3839
- name: Build and push Docker image
@@ -86,10 +87,10 @@ jobs:
8687
tags: ${{ steps.meta.outputs.tags }}
8788
labels: ${{ steps.meta.outputs.labels }}
8889

89-
# - name: Generate artifact attestation
90-
# uses: actions/attest-build-provenance@v2
91-
# with:
92-
# subject-name: ${{ env.GHCR }}/${{ env.IMAGE_NAME }}
93-
# subject-digest: ${{ steps.push.outputs.digest }}
94-
# push-to-registry: true
90+
- name: Generate artifact attestation
91+
uses: actions/attest-build-provenance@v2
92+
with:
93+
subject-name: ${{ env.GHCR }}/${{ env.IMAGE_NAME }}
94+
subject-digest: ${{ steps.push.outputs.digest }}
95+
push-to-registry: true
9596

0 commit comments

Comments
 (0)