From b3ba4b5a8c44360abddbe026f5097c98d59eecef Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Sun, 17 May 2026 02:35:20 -0700 Subject: [PATCH] fix: skip docker compose pull and only comment on PR events - Remove explicit docker compose pull in build-and-deploy-ci; image is already built locally on the same host, compose default pull_policy:missing uses local image - Gate Comment bump type on PR step with if: github.event_name == 'pull_request' so it doesn't fail on workflow_dispatch triggers --- .gitea/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 2a33255..1a4b36e 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -75,9 +75,8 @@ jobs: # Update the image tag in the compose file sed -i "s|image: docker.notsosm.art/euchre-camp:[a-zA-Z0-9.-]*|image: docker.notsosm.art/euchre-camp:${IMAGE_TAG}|" ${COMPOSE_FILE} - # Pull the new image and restart the CI stack + # Image was built locally in the previous step; compose uses it without pulling cd /apps/euchre_camp_ci - docker compose pull app docker compose up -d app - name: Wait for CI site to be healthy @@ -145,6 +144,7 @@ jobs: echo "reason=$REASON" >> $GITHUB_OUTPUT - name: Comment bump type on PR + if: github.event_name == 'pull_request' uses: actions/github-script@v7 with: script: |