From 20e9c4e34730611dc1d41d075c5f593158eea4eb Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Mon, 8 Jul 2024 11:59:34 +0100 Subject: [PATCH] Pass packages write permissions for deploy workflows This is needed to push images to ghcr.io. --- .github/workflows/build-clamav-image.yml | 1 + .github/workflows/build-mongodb-image.yml | 1 + .github/workflows/build-toolbox-image.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/build-clamav-image.yml b/.github/workflows/build-clamav-image.yml index 66a09da85..d586cc4e4 100644 --- a/.github/workflows/build-clamav-image.yml +++ b/.github/workflows/build-clamav-image.yml @@ -28,3 +28,4 @@ jobs: permissions: id-token: write contents: read + packages: write diff --git a/.github/workflows/build-mongodb-image.yml b/.github/workflows/build-mongodb-image.yml index 09ac99210..676d93167 100644 --- a/.github/workflows/build-mongodb-image.yml +++ b/.github/workflows/build-mongodb-image.yml @@ -28,3 +28,4 @@ jobs: permissions: id-token: write contents: read + packages: write diff --git a/.github/workflows/build-toolbox-image.yml b/.github/workflows/build-toolbox-image.yml index e5e7afa08..1e4a972fa 100644 --- a/.github/workflows/build-toolbox-image.yml +++ b/.github/workflows/build-toolbox-image.yml @@ -28,3 +28,4 @@ jobs: permissions: id-token: write contents: read + packages: write