diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index e218794..73db7c2 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -143,6 +143,7 @@ jobs: digest="${{ steps.build.outputs.digest }}" touch "/tmp/digests/${digest#sha256:}" echo "Created /tmp/digests/${digest#sha256:}" + shell: bash - name: Upload ${{ matrix.info.platform }} digest uses: https://github.com/actions/upload-artifact@v3 @@ -203,8 +204,9 @@ jobs: name: Create manifest list and push working-directory: /tmp/digests run: | - docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") - $(printf "${{ env.REGISTRY_IMAGE }}@sha256:%s " *) + tags=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") + images=$(printf "${{ env.REGISTRY_IMAGE }}@sha256:%s " *) + docker buildx imagetools create "${tags}" "${images}" shell: bash - name: Inspect Image