From ff222e8dfa21ec3bf67d156e29059fce79be6f26 Mon Sep 17 00:00:00 2001 From: Karl Ludwig Weise Date: Tue, 29 Sep 2026 16:44:05 +0200 Subject: [PATCH] Made release workflow more flexible --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f8486f..7a71208 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,10 +77,12 @@ jobs: push: true platforms: linux/amd64,linux/arm64 tags: | - openreception/open-reception:latest - openreception/open-reception:${{ github.ref_name }} + ${{ secrets.DOCKER_ORG }}/${{ secrets.DOCKER_IMAGE }}:latest + ${{ secrets.DOCKER_ORG }}/${{ secrets.DOCKER_IMAGE }}:${{ github.ref_name }} - name: Commit and push version update + # Only commit if repository is public and not a fork to avoid permission issues + if: ${{ github.event.repository.private == false && github.event.repository.fork == false }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com"