From aa7390a7653a60195b4edc4f38c84fe5e9e870e3 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 11 Jun 2021 11:14:18 +0100 Subject: [PATCH] Update publish-docker.yaml Former-commit-id: 1a2dd9045753bb176cfb2c23c4f7f03aeaf1e85d [formerly 774784fd5750890f7af18050e2f620cdf8be71de [formerly cc9adffef35a853edb2caac49d172ba8b63d28b1]] Former-commit-id: 74a5441788e5fdb3b5bb835aef18b7a75fe3cc39 Former-commit-id: 3e3f5b291c97c163eac2ab267419211950e76bc8 --- .github/workflows/publish-docker.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index 28f80222..514a4f23 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -8,11 +8,14 @@ on: release: types: [ published ] - # Call this for testing from the REST API with '{"ref":"{tag}"}' + # Call this for testing from the REST API with '{"version":"{tag}"}' # 'https://api.github.com/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches' workflow_dispatch: inputs: - ref: + version: + description: Specific version to build (overrides on-master and tag-pattern) + required: false + default: '' jobs: build-and-push: @@ -32,3 +35,4 @@ jobs: dockerfile: Dockerfile.pwa restrict-to: kiwix/kiwix-js-windows registries: docker.io + manual-tag: ${{ github.event.inputs.version }}