ci: Adjust GitHub workflow permissions

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-10-21 11:55:37 +03:00
parent 5e853bb589
commit 82db9ff213
8 changed files with 56 additions and 41 deletions
+4 -3
View File
@@ -6,12 +6,13 @@ env:
IMAGE: "ghcr.io/fluxcd/flagger-loadtester"
permissions:
contents: write # needed to write releases
packages: write # needed for ghcr access
contents: read
jobs:
build-push:
release-load-tester:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2
- name: Prepare