mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
arranging permissions (#3293)
Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
c8a31ab16a
commit
af98c00724
1 changed files with 12 additions and 5 deletions
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue