From 32cc3f957144b39659304b22a3807fc665a7f0c6 Mon Sep 17 00:00:00 2001 From: Dzejkop Date: Tue, 19 Dec 2023 12:21:53 +0100 Subject: [PATCH 1/2] Change permissions --- .github/workflows/release_docker.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index e6d1c5f..ef27f52 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -2,9 +2,13 @@ name: Build and Publish Docker Image on: push: - branches: [ master ] + branches: [ master, build-and-push-test ] tags: ["*"] +permissions: + contents: read + packages: write + env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} From 4b8e0ec4c89d3105259263101e62e76056d3fbd6 Mon Sep 17 00:00:00 2001 From: Dzejkop Date: Tue, 19 Dec 2023 12:24:38 +0100 Subject: [PATCH 2/2] wip --- .github/workflows/release_docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_docker.yml b/.github/workflows/release_docker.yml index ef27f52..ab72b42 100644 --- a/.github/workflows/release_docker.yml +++ b/.github/workflows/release_docker.yml @@ -2,7 +2,7 @@ name: Build and Publish Docker Image on: push: - branches: [ master, build-and-push-test ] + branches: [ master ] tags: ["*"] permissions: