Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
Loading