From 1714b90b22a5a085c641c7f7005b26b07810b39f Mon Sep 17 00:00:00 2001 From: Emylou <6721091+Emylou-s@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:40:48 +0200 Subject: [PATCH] S3C-9347 allow dependabot to ghcr (#66) Co-authored-by: Emylou <6721091+Nabouk@users.noreply.github.com> --- .github/workflows/docker-build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index b11f7e4..69cacf0 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -61,6 +61,10 @@ on: REGISTRY_PASSWORD: required: false +permissions: + packages: write + contents: read + jobs: build: env: @@ -85,7 +89,7 @@ jobs: password: ${{ env.REGISTRY_PASSWORD }} - name: Build and push ${{ inputs.name }} image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: ${{ inputs.context }} provenance: ${{ inputs.provenance }}