Merge pull request #9 from PatrykIti/fix/workflow_pat

fix: Critical workflow fixes for Docker image publishing
This commit is contained in:
PCITI
2025-06-12 13:11:40 +02:00
committed by GitHub

View File

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