Skip to content

Commit be86e2e

Browse files
authored
Merge pull request #55 from smlx/fix-registry3
fix: release action permissions
2 parents 4332131 + 78d6777 commit be86e2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
tag:
88
permissions:
9+
# create tag
910
contents: write
1011
runs-on: ubuntu-latest
1112
outputs:
@@ -39,7 +40,11 @@ jobs:
3940
fi
4041
release:
4142
permissions:
43+
# create release
44+
contents: write
45+
# push docker images to regsitry
4246
packages: write
47+
# use OIDC token for signing
4348
id-token: write
4449
needs: tag
4550
if: needs.tag.outputs.new-tag == 'true'

0 commit comments

Comments
 (0)