Skip to content

Commit 3b3ba74

Browse files
fix: imagetools inspections
Signed-off-by: Scott Schreckengaust <[email protected]>
1 parent c216b23 commit 3b3ba74

File tree

1 file changed

+6
-2
lines changed
  • .github/actions/build-and-push-container-image

1 file changed

+6
-2
lines changed

.github/actions/build-and-push-container-image/action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,17 @@ runs:
178178

179179
- name: Create manifest list and push
180180
working-directory: ${{ runner.temp }}/digests
181+
env:
182+
REGISTRY_ALIAS: 'w3i4n7u1'
181183
run: |
182184
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
183-
$(printf 'awslabs/${{ inputs.image }}@sha256:%s ' *)
185+
$(printf 'public.ecr.aws/${{ env.REGISTRY_ALIAS }}/mcp/${{ inputs.image }}@sha256:%s ' *)
184186
shell: bash
185187
- name: Inspect image
188+
env:
189+
REGISTRY_ALIAS: 'w3i4n7u1'
186190
run: |
187-
docker buildx imagetools inspect awslabs/${{ inputs.image }}:${{ steps.meta.outputs.version }}
191+
docker buildx imagetools inspect public.ecr.aws/${{ env.REGISTRY_ALIAS }}/mcp/${{ inputs.image }}:${{ steps.meta.outputs.version }}
188192
shell: bash
189193
- name: Get version
190194
id: get-version

0 commit comments

Comments
 (0)