Skip to content

Commit e7e1698

Browse files
authored
fix: use single registry for push-by-digest to fix manifest merge (#19)
1 parent 96e821c commit e7e1698

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
platforms: ${{ matrix.platform }}
101101
labels: ${{ steps.meta.outputs.labels }}
102102
outputs: |
103-
type=image,name=${{ env.REGISTRY_IMAGE }},name=ghcr.io/${{ github.repository }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }}
103+
type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }}
104104
type=docker
105105
cache-from: type=gha,scope=build-${{ matrix.platform }}
106106
cache-to: type=gha,mode=max,scope=build-${{ matrix.platform }}
@@ -184,7 +184,7 @@ jobs:
184184
working-directory: /tmp/digests
185185
run: |
186186
docker buildx imagetools create $(jq -cr '.tags | map(select(startswith("ghcr.io")) | "-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
187-
$(printf 'ghcr.io/${{ github.repository }}@sha256:%s ' *)
187+
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
188188
189189
- name: Inspect image
190190
run: |

0 commit comments

Comments
 (0)