From 28218fd5ebbbfbb9511c3c367e1dd81894427b64 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Fri, 10 Jan 2025 10:55:31 +0100 Subject: [PATCH] Prevent empty tags in-between --- .github/workflows/build_and_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 5687b06..5c7dbe5 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -49,11 +49,11 @@ jobs: - name: Configure target tags (with latest) if: ${{ inputs.update_latest }} - run: echo "PRE_TAGS=mumble-server:latest, mumble-server:${{ inputs.mumble_version }}, mumble-server:${{ inputs.mumble_version }}-${{ inputs.docker_version }}" >> $GITHUB_ENV + run: echo "PRE_TAGS=mumble-server:latest mumble-server:${{ inputs.mumble_version }} mumble-server:${{ inputs.mumble_version }}-${{ inputs.docker_version }}" >> $GITHUB_ENV - name: Configure target tags (without latest) if: ${{ ! inputs.update_latest }} - run: echo "PRE_TAGS=mumble-server:${{ inputs.mumble_version }}, mumble-server:${{ inputs.mumble_version }}-${{ inputs.docker_version }}" >> $GITHUB_ENV + run: echo "PRE_TAGS=mumble-server:${{ inputs.mumble_version }} mumble-server:${{ inputs.mumble_version }}-${{ inputs.docker_version }}" >> $GITHUB_ENV - name: Make tags for registries run: |