From 375efd03d7cfdbe7eccaab6775b832a7d78dc4e3 Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Fri, 6 Dec 2024 10:36:39 +0100 Subject: [PATCH] fix: multiline output/input Signed-off-by: Martin Buchleitner --- .github/workflows/container.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index ac265ff..61fa7c4 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -107,10 +107,14 @@ jobs: EOI ) - echo "setting images ${IMAGES}" - echo "settings tag ${TAGS}" - echo "tags=${TAGS}" >> $GITHUB_OUTPUT - echo "images=${IMAGES}" >> $GITHUB_OUTPUT + + echo 'tags<> $GITHUB_OUTPUT + echo ${TAGS} >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT + + echo 'images<> $GITHUB_OUTPUT + echo ${IMAGES} >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT - name: Extract metadata (tags, labels) for Docker id: meta @@ -119,9 +123,6 @@ jobs: images: ${{ steps.prep.outputs.images }} tags: ${{ steps.prep.outputs.tags }} - - name: foo - run : | - echo "${{ steps.meta.outputs.json }}" - name: Set up QEMU uses: docker/setup-qemu-action@v3