Merge pull request #10 from PatrykIti/fix/workflow_pat

fix: Fix main branch checkout in Docker workflow
This commit is contained in:
PCITI
2025-06-12 13:16:31 +02:00
committed by GitHub

View File

@@ -122,8 +122,8 @@ jobs:
if: github.ref_type == 'tag' || (github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '')
run: |
# Checkout main branch to avoid detached HEAD when pushing
git fetch origin main:main
git checkout main
git pull origin main
# Extract the primary image tag for updating README
if [[ "${{ github.ref_type }}" == "tag" ]]; then
# For tag releases, use the version tag