diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 646abad..2f9b7c2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -132,6 +132,11 @@ jobs: run: | echo "tags=$(echo '${{ toJSON(fromJSON(steps.meta.outputs.json).tags) }}' | jq 'if (type) == "array" then .[0] else . end' | sed 's/\"//g' | cut -d ':' -f 2)" >> $GITHUB_OUTPUT + - name: Create cleaned up registry variable + id: clean_registry + run: | + echo "clean_registry=$(echo '${{ inputs.registry }}' | sed 's/\//-/g')" >> $GITHUB_OUTPUT + - name: Export digest run: | mkdir -p /tmp/digests @@ -141,7 +146,7 @@ jobs: - name: Upload digest uses: actions/upload-artifact@v4 with: - name: digests-${{ inputs.registry }}-${{ inputs.image_name }}-${{ steps.tag.outputs.tags }}-${{ matrix.platform }} + name: digests-${{ steps.clean_registry.outputs.clean_registry }}-${{ inputs.image_name }}-${{ steps.tag.outputs.tags }}-${{ matrix.platform }} path: /tmp/digests/* if-no-files-found: error retention-days: 1 @@ -157,7 +162,7 @@ jobs: uses: actions/download-artifact@v4 with: path: /tmp/digests - pattern: digests-${{ inputs.registry }}-${{ inputs.image_name }}-${{ needs.docker.outputs.tags }}-* + pattern: digests-${{ steps.clean_registry.outputs.clean_registry }}-${{ inputs.image_name }}-${{ needs.docker.outputs.tags }}-* merge-multiple: true - name: Set up Docker Buildx