From d9fcc15c532d78837bbda436108c3ec3906f228d Mon Sep 17 00:00:00 2001 From: viewit Date: Sun, 28 Jun 2026 19:16:11 +0200 Subject: [PATCH] fix(ci): kein VERSION-Commit im CI (verhindert Push-Loop + Konflikt) --- .gitea/workflows/nightly.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/nightly.yml b/.gitea/workflows/nightly.yml index c2bc748..4398ad2 100644 --- a/.gitea/workflows/nightly.yml +++ b/.gitea/workflows/nightly.yml @@ -87,21 +87,11 @@ jobs: echo "LAST_STABLE=${LAST_STABLE}" >> /tmp/nightly_version.env echo "Computed nightly version: ${VERSION} (after ${LAST_STABLE})" - - name: Write VERSION file & commit - env: - GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }} - run: | - . /tmp/nightly_version.env - git config user.name "gitea-actions" - git config user.email "actions@it-drui.de" - echo "$VERSION" > VERSION - git add VERSION - git commit -m "chore: nightly ${VERSION}" || true - git push https://gitea-actions:${GITEA_TOKEN}@gitea.it-drui.de/viewit/KX-Bridge-Release.git nightly - - name: Build & push (amd64 + arm64) run: | . /tmp/nightly_version.env + # VERSION-Datei im Arbeitsverzeichnis für den Docker-Build setzen (kein Commit) + echo "$VERSION" > VERSION docker buildx build \ --platform linux/amd64,linux/arm64 \ --push \