From 58b97577e898366e3ced32dbd736eb70e761d32f Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 4 Sep 2026 07:09:52 +0000 Subject: [PATCH] docker-image.yml: manual trigger + decouple client/server deploy hooks Add workflow_dispatch so a deploy can be re-fired manually without an empty commit. Add !cancelled() to the client/server webhook steps' if-conditions. Previously a failure in "Update client service" implicitly blocked "Update server service" from running at all (GitHub Actions ANDs a step's own if-condition with success() unless overridden), even on commits that only touched server/**. That's why several recent pushes never attempted the server deploy hook. Root cause of the actual webhook failures (both CLIENT_WEBHOOK and SERVER_WEBHOOK returning HTTP 500 "Error getting registry: object not found inside the database" since 2026-09-01) is on the deploy target side, not in this workflow - image build+push has succeeded on every push. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Grpcg4VKLrJw9MkLWUMMBS --- .github/workflows/docker-image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 835b2cbe..84aeb73d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: {} jobs: build: @@ -53,14 +54,14 @@ jobs: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}-server:${{github.sha}} - name: 'Update client service' - if: steps.changes.outputs.client == 'true' + if: steps.changes.outputs.client == 'true' && !cancelled() uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.CLIENT_WEBHOOK }} preventFailureOnNoResponse: true - name: 'Update server service' - if: steps.changes.outputs.server == 'true' + if: steps.changes.outputs.server == 'true' && !cancelled() uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.SERVER_WEBHOOK }}