Skip to content

Commit

Permalink
fix(CI): create identity for the runner to sign the artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 committed Nov 10, 2024
1 parent 32d8c23 commit ac99965
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cosign/cosign.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEX977Wvc3ItcMShF/1Sk4qjCgh0wn
vZXuRMGYVYphw/IBUkhWIbo+fxvtxKlVYUG1TwXo9jq+numKE9HBBWQEMg==
-----END PUBLIC KEY-----
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
packages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -154,6 +155,8 @@ jobs:
- release-please
if: needs.release-please.outputs.releases_created == 'true'
permissions:
contents: write
id-token: write
packages: write
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ac99965

Please sign in to comment.