ci(docker): run smoke on manual dispatch (#797)

* ci(docker): allow manual dispatch for publish job

* ci(docker): run smoke job on manual dispatch
This commit is contained in:
Will Sarg 2026-02-18 07:17:15 -05:00 committed by GitHub
parent 03aea0d654
commit 08ea559c21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ env:
jobs: jobs:
pr-smoke: pr-smoke:
name: PR Docker 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 runs-on: blacksmith-2vcpu-ubuntu-2404
timeout-minutes: 25 timeout-minutes: 25
permissions: permissions:
@ -56,6 +56,7 @@ jobs:
uses: useblacksmith/setup-docker-builder@ef12d5b165b596e3aa44ea8198d8fde563eab402 # v1 uses: useblacksmith/setup-docker-builder@ef12d5b165b596e3aa44ea8198d8fde563eab402 # v1
- name: Extract metadata (tags, labels) - name: Extract metadata (tags, labels)
if: github.event_name == 'pull_request'
id: meta id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5 uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
with: with:
@ -72,7 +73,7 @@ jobs:
provenance: false provenance: false
sbom: false sbom: false
tags: zeroclaw-pr-smoke:latest tags: zeroclaw-pr-smoke:latest
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels || '' }}
platforms: linux/amd64 platforms: linux/amd64
- name: Verify image - name: Verify image