From d7ca4f83430c3edd9316f1651db1f0bfcb733c51 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Fri, 12 Jun 2026 15:06:58 -0400 Subject: [PATCH] Fold and strip tag value in build_image step The tags field expects a space separated list of values. Preserving new lines with the block syntax is incorrect. Also strip newlines from the end. --- .github/workflows/build_and_push_release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_push_release.yaml b/.github/workflows/build_and_push_release.yaml index a5cd2897e..6ae185943 100644 --- a/.github/workflows/build_and_push_release.yaml +++ b/.github/workflows/build_and_push_release.yaml @@ -41,7 +41,7 @@ jobs: uses: redhat-actions/buildah-build@v2 with: image: ${{ env.IMAGE_NAME }} - tags: | + tags: >- ${{ env.GIT_TAG }} ${{ steps.check_latest.outputs.apply_latest == 'true' && env.LATEST_TAG || '' }} containerfiles: |