diff --git a/.gitea/workflows/docker-publish-split.yml b/.gitea/workflows/docker-publish-split.yml index f2a95dd..3614176 100644 --- a/.gitea/workflows/docker-publish-split.yml +++ b/.gitea/workflows/docker-publish-split.yml @@ -355,11 +355,13 @@ jobs: id: tags run: | VERSION="${{ inputs.release_tag }}" - TAGS="${IMAGE}:${VERSION}" - if [ "${{ inputs.promote_latest }}" = "true" ]; then - TAGS="${TAGS}\n${IMAGE}:latest" - fi - echo -e "tags<> "$GITHUB_OUTPUT" + { echo "tags<> "$GITHUB_OUTPUT" - uses: docker/build-push-action@v7 with: context: . @@ -401,11 +403,13 @@ jobs: id: tags run: | VERSION="${{ inputs.release_tag }}" - TAGS="${IMAGE}:${VERSION}-omos" - if [ "${{ inputs.promote_latest }}" = "true" ]; then - TAGS="${TAGS}\n${IMAGE}:latest-omos" - fi - echo -e "tags<> "$GITHUB_OUTPUT" + { echo "tags<> "$GITHUB_OUTPUT" - uses: docker/build-push-action@v7 with: context: . @@ -447,11 +451,13 @@ jobs: id: tags run: | VERSION="${{ inputs.release_tag }}" - TAGS="${IMAGE}:${VERSION}-with-pi" - if [ "${{ inputs.promote_latest }}" = "true" ]; then - TAGS="${TAGS}\n${IMAGE}:latest-with-pi" - fi - echo -e "tags<> "$GITHUB_OUTPUT" + { echo "tags<> "$GITHUB_OUTPUT" - uses: docker/build-push-action@v7 with: context: . @@ -493,11 +499,13 @@ jobs: id: tags run: | VERSION="${{ inputs.release_tag }}" - TAGS="${IMAGE}:${VERSION}-omos-with-pi" - if [ "${{ inputs.promote_latest }}" = "true" ]; then - TAGS="${TAGS}\n${IMAGE}:latest-omos-with-pi" - fi - echo -e "tags<> "$GITHUB_OUTPUT" + { echo "tags<> "$GITHUB_OUTPUT" - uses: docker/build-push-action@v7 with: context: .