From 07d9b3be4a8e336e5522d34b0b9af5089ee70402 Mon Sep 17 00:00:00 2001 From: Patryk Ciechanski Date: Thu, 12 Jun 2025 13:23:18 +0200 Subject: [PATCH] fix: Add --set-upstream flag to git push in Docker workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixes 'current branch main has no upstream branch' error - Ensures push works after fetching main branch in detached HEAD state - Completes the README update automation 🤖 Generated with Claude Code --- .github/workflows/build_and_publish_docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_publish_docker.yml b/.github/workflows/build_and_publish_docker.yml index ffc3100..779c25b 100644 --- a/.github/workflows/build_and_publish_docker.yml +++ b/.github/workflows/build_and_publish_docker.yml @@ -187,7 +187,7 @@ jobs: fi # Push changes back to the repository - git push + git push --set-upstream origin main echo "### 📝 Documentation Updated" >> $GITHUB_STEP_SUMMARY echo "README.md and user guides have been automatically updated with the new Docker image tag: \`$LATEST_TAG\`" >> $GITHUB_STEP_SUMMARY