From 08ea559c21f867a4781af4175cbc5777c8f113d6 Mon Sep 17 00:00:00 2001 From: Will Sarg <12886992+willsarg@users.noreply.github.com> Date: Wed, 18 Feb 2026 07:17:15 -0500 Subject: [PATCH] ci(docker): run smoke on manual dispatch (#797) * ci(docker): allow manual dispatch for publish job * ci(docker): run smoke job on manual dispatch --- .github/workflows/pub-docker-img.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pub-docker-img.yml b/.github/workflows/pub-docker-img.yml index c58a47a..273697c 100644 --- a/.github/workflows/pub-docker-img.yml +++ b/.github/workflows/pub-docker-img.yml @@ -43,7 +43,7 @@ env: jobs: pr-smoke: name: PR Docker Smoke - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 25 permissions: @@ -56,6 +56,7 @@ jobs: uses: useblacksmith/setup-docker-builder@ef12d5b165b596e3aa44ea8198d8fde563eab402 # v1 - name: Extract metadata (tags, labels) + if: github.event_name == 'pull_request' id: meta uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5 with: @@ -72,7 +73,7 @@ jobs: provenance: false sbom: false tags: zeroclaw-pr-smoke:latest - labels: ${{ steps.meta.outputs.labels }} + labels: ${{ steps.meta.outputs.labels || '' }} platforms: linux/amd64 - name: Verify image