1
0
Fork 0
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:
Naman Lakhwani 2022-02-25 13:41:22 +05:30 committed by GitHub
parent c8a31ab16a
commit af98c00724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,12 @@ on:
tags:
- 'v*'
permissions:
contents: read
packages: write
id-token: write
jobs:
release-init-kyverno:
permissions:
contents: read
packages: write
id-token: write
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