diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index de8187e..cfb165e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -158,6 +158,11 @@ jobs: - docker steps: + - name: Create cleaned up registry variable + id: clean_registry + run: | + echo "clean_registry=$(echo '${{ inputs.registry }}' | sed 's/\//-/g')" >> $GITHUB_OUTPUT + - name: Download digests uses: actions/download-artifact@v4 with: @@ -186,7 +191,7 @@ jobs: working-directory: /tmp/digests run: | docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ - $(printf '${{ steps.clean_registry.outputs.clean_registry }}/${{ inputs.image_name }}@sha256:%s ' *) + $(printf '${{ inputs.registry }}/${{ inputs.image_name }}@sha256:%s ' *) - name: Inspect image run: |