From 4d91ef14f4ab5bed5b2b32e2a39b1800039c1bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Dub=C3=A9?= Date: Fri, 24 May 2024 16:49:43 -0400 Subject: [PATCH] Update docker-image.yaml --- .github/workflows/docker-image.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yaml b/.github/workflows/docker-image.yaml index 57750cca..543819af 100644 --- a/.github/workflows/docker-image.yaml +++ b/.github/workflows/docker-image.yaml @@ -7,8 +7,14 @@ on: workflow_dispatch: inputs: version: + description: 'Version WITHOUT leading "v"' + required: true major: + description: 'Major version component (redundant, but needed)' + required: true minor: + description: 'Minor version component (redundant, but needed)' + required: true # push: # tags: # - '*.*.*' @@ -65,8 +71,8 @@ jobs: with: images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}" tags: | - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{github.event.inputs.version}} + type=semver,pattern={{github.event.inputs.major}}.{{github.event.inputs.minor}} # This step uses the `docker/build-push-action` action to build the # image, based on your repository's `Dockerfile`. If the build succeeds,