From 0b8e9e49bd686ac76cd0855d9585a492615f5800 Mon Sep 17 00:00:00 2001 From: David Kleiven Date: Sun, 3 Dec 2023 15:21:53 +0100 Subject: [PATCH] Add write permission --- .github/workflows/dockerize.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dockerize.yml b/.github/workflows/dockerize.yml index 60b2f7b..2b561de 100644 --- a/.github/workflows/dockerize.yml +++ b/.github/workflows/dockerize.yml @@ -15,6 +15,9 @@ jobs: name: Publish Docker Image to Docker Hub runs-on: ubuntu-latest if: github.repository_owner == 'statnett' + permissions: + contents: read # for actions/checkout to fetch code + packages: write # for docker/build-push-action to push images steps: - name: Checkout repo uses: actions/checkout@v4