Skip to content

Commit 1a8821d

Browse files
committed
Upgrade action
1 parent 917a4d1 commit 1a8821d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ghcr_emod_run_env.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
name: Build and push Docker image
2626
runs-on: ubuntu-latest
2727
permissions:
28-
packages: write
28+
artifact-metadata: write
2929
attestations: write
3030
id-token: write
31+
packages: write
3132
steps:
3233
- name: Checkout repository
3334
uses: actions/checkout@v6
@@ -46,7 +47,7 @@ jobs:
4647
push: true
4748
tags: ${{ env.REGISTRY }}/${{ env.ORG_NAME }}/${{ inputs.type }}:${{ inputs.version }}
4849
- name: Generate artifact attestation
49-
uses: actions/attest-build-provenance@v3
50+
uses: actions/attest@v4
5051
with:
5152
subject-name: ${{ env.REGISTRY }}/${{ env.ORG_NAME }}/${{ inputs.type }}
5253
subject-digest: ${{ steps.push.outputs.digest }}

0 commit comments

Comments
 (0)