From 290e6f6207806a61c6b97c96d67d7c3a2442aa12 Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 8 Feb 2024 00:05:34 -0600 Subject: [PATCH] Shell bash --- .forgejo/workflows/publish.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 3bb3c25..e218794 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -80,7 +80,9 @@ jobs: - name: Prepare Platform run: | - bash -c 'platform=${{ matrix.info.platform }} echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV' + platform=${{ matrix.info.platform }} + echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV + shell: bash - name: Docker meta id: meta @@ -201,7 +203,9 @@ jobs: name: Create manifest list and push working-directory: /tmp/digests run: | - bash -c 'docker buildx imagetools create $(jq -cr ".tags | map(\"-t \" + .) | join(\" \")" <<< "$DOCKER_METADATA_OUTPUT_JSON") $(printf "${{ env.REGISTRY_IMAGE }}@sha256:%s " *)' + docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") + $(printf "${{ env.REGISTRY_IMAGE }}@sha256:%s " *) + shell: bash - name: Inspect Image run: |