From b26af48df67581438178b9c67ba29b9c783d5026 Mon Sep 17 00:00:00 2001 From: Daniel Medina Date: Wed, 17 Apr 2024 14:03:12 -0400 Subject: [PATCH] misplaced manual input --- .github/workflows/release-server-to-docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-server-to-docker.yml b/.github/workflows/release-server-to-docker.yml index 1213921d22..8065e7d74e 100644 --- a/.github/workflows/release-server-to-docker.yml +++ b/.github/workflows/release-server-to-docker.yml @@ -25,7 +25,7 @@ jobs: id: format-tag with: pattern: 'v' - string: '${{ github.event.release.tag_name }}' + string: '${{ github.event.release.tag_name || github.event.inputs.version}}' replace-with: '' flags: 'g' - name: Checkout the Heimdall Repository @@ -37,7 +37,7 @@ jobs: context: . push: true platforms: 'linux/amd64' - tags: mitre/heimdall2:release-latest,mitre/heimdall2:${{ steps.format-tag.outputs.replaced || github.event.inputs.version }} + tags: mitre/heimdall2:release-latest,mitre/heimdall2:${{ steps.format-tag.outputs.replaced }} - name: Get Docker SHA shell: bash id: get-docker-sha