diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 7b2d44637..5c67d9015 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -20,7 +20,7 @@ jobs: name: Build and deploy runs-on: ubuntu-latest permissions: - id-token: "write" + id-token: write packages: write env: image: ghcr.io/${{ github.repository }}:${{ inputs.IMAGE_NAME }}-${{ github.sha }} diff --git a/.github/workflows/deploy.beta.navno.yml b/.github/workflows/deploy.beta.navno.yml index 8f6b12d5f..9b2399211 100644 --- a/.github/workflows/deploy.beta.navno.yml +++ b/.github/workflows/deploy.beta.navno.yml @@ -15,6 +15,7 @@ jobs: deploy: permissions: packages: write + id-token: write uses: ./.github/workflows/build-and-deploy.yml with: NAIS_VARS: .nais/vars/dev-beta-navno.yaml