Skip to content

Commit

Permalink
fix: image signing
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <csatib02@gmail.com>
  • Loading branch information
csatib02 committed Sep 2, 2024
1 parent e7d4e8d commit f62b710
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
default: false
type: boolean

permissions:
contents: read
packages: write

jobs:
container-image:
name: Container-Image
Expand Down Expand Up @@ -86,7 +90,7 @@ jobs:
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes --key ${COSIGN_KEY} ${images}
cosign sign --yes --key env://COSIGN_PRIVATE_KEY ${images}
- name: Upload image artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f62b710

Please sign in to comment.