Skip to content

Commit d7ca4f8

Browse files
committed
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.
1 parent dd69d32 commit d7ca4f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build_and_push_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: redhat-actions/buildah-build@v2
4242
with:
4343
image: ${{ env.IMAGE_NAME }}
44-
tags: |
44+
tags: >-
4545
${{ env.GIT_TAG }}
4646
${{ steps.check_latest.outputs.apply_latest == 'true' && env.LATEST_TAG || '' }}
4747
containerfiles: |

0 commit comments

Comments
 (0)