From f819a40156cedbd8eb3dd07437d4a553ed257cb4 Mon Sep 17 00:00:00 2001 From: Christina Date: Tue, 5 Aug 2025 10:58:36 +0200 Subject: [PATCH] Add manual trigger support for Docker workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable manual triggering of Docker image builds for existing tags via workflow_dispatch. This allows rebuilding packages for already pushed tags through the GitHub Actions UI. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/docker.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5923bb7..e76d452 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -17,6 +17,12 @@ on: - shard.lock - Dockerfile - .github/workflows/docker.yml + workflow_dispatch: + inputs: + tag: + description: 'Tag to build (e.g., v1.0.0)' + required: true + type: string jobs: docker: @@ -27,6 +33,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ github.event.inputs.tag || github.ref }} - name: Docker meta id: meta @@ -38,6 +46,7 @@ jobs: type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} + type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }} - name: Set up Depot CLI uses: depot/setup-action@v1