arranging permissions
@@ -4,13 +4,12 @@ on:
tags:
- 'v*'
+jobs:
+ release-init-kyverno:
permissions:
contents: read
packages: write
id-token: write
-
-jobs:
- release-init-kyverno:
uses: kyverno/kyverno/.github/workflows/reuse.yaml@main
with:
publish_command: docker-publish-initContainer
@@ -23,6 +22,10 @@ jobs:
registry_password: ${{ secrets.CR_PAT }}
release-kyverno:
+ permissions:
+ contents: read
+ packages: write
+ id-token: write
uses: kyverno/kyverno/.github/workflows/reuse.yaml@main
with:
publish_command: docker-publish-kyverno
@@ -35,6 +38,10 @@ jobs:
registry_password: ${{ secrets.CR_PAT }}
release-kyverno-cli:
+ permissions:
+ contents: read
+ packages: write
+ id-token: write
uses: kyverno/kyverno/.github/workflows/reuse.yaml@main
with:
publish_command: docker-publish-cli
