Skip to content

Commit

Permalink
ci: fix id duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Sep 28, 2024
1 parent dc5e158 commit f2ebb92
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docker-pub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Build and push nightly
if: github.ref_type == 'tag'
uses: docker/build-push-action@v5
id: push
id: pushRelease
env:
REGISTRY: ghcr.io
OWNER: ${{ github.repository_owner }}
Expand All @@ -82,3 +82,11 @@ jobs:
subject-name: ghcr.io/barelyhuman/goblin
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

- name: Generate artifact attestation
if: github.ref_type == 'tag'
uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/barelyhuman/goblin
subject-digest: ${{ steps.pushRelease.outputs.digest }}
push-to-registry: true

0 comments on commit f2ebb92

Please sign in to comment.