From 3304aeda71264965a07bdd903ecc6cedfac3c350 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Fri, 9 Feb 2024 23:44:12 +0100 Subject: [PATCH] Add manual workflow to trigger release image --- .github/workflows/ci.yml | 2 +- .github/workflows/docker-image.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bd8aac..687e77d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: timeout-minutes: 5 outputs: ci: ${{ steps.changes.outputs.ci }} - composer: ${{ steps.changes.outputs.composer}} + composer: ${{ steps.changes.outputs.composer }} php: ${{ steps.changes.outputs.php }} steps: - name: Checkout diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d795b07..b536e08 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -4,6 +4,12 @@ on: release: types: - published + workflow_dispatch: + inputs: + tag_name: + required: true + type: string + jobs: build: @@ -12,7 +18,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - ref: ${{ github.event.release.tag_name }} + ref: ${{ github.event.inputs.tag_name || github.event.release.tag_name }} - name: Build Docker image tags uses: docker/metadata-action@v5