Skip to content

ci(repo): mirror slim images to the central registry's ECR Public - #6715

Closed
avallete wants to merge 1 commit into
developfrom
avallete/practical-knuth-klsp0r
Closed

avallete wants to merge 1 commit into
developfrom
avallete/practical-knuth-klsp0r

Conversation

@avallete

Copy link
Copy Markdown
Member

Summary

Moves the slim image ECR Public mirror to the central registry account.

  • The destination changes from public.ecr.aws/supabase/cli/<service> to public.ecr.aws/supabase-registry/cli/<service>.
  • mirror-slim-image.yml assumes the ecr-push-public-cli role in the registry account instead of PROD_AWS_ROLE, with a per-run session name.
  • The registry stack now owns the repositories. So ensure-repo becomes check-repo: it only confirms the repository exists, and when it doesn't, it fails with the enrollment file to edit. It no longer tries to create the repository.
  • Updates ADR 0026 to match.

No CLI release pulls from the ECR mirror yet (the client still reads ghcr.io/supabase/cli), so changing the prefix doesn't affect shipped users.

Merge order:

  1. supabase/platform#38737 deploys and the supabase-registry public alias is claimed.
  2. This PR and the matching ECR_MIRROR_PREFIX default in supabase/slim-services land together. validate rejects any payload destination that doesn't match the derived one.

Linked issue

None.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SNJube4L1c7kHu88o2JXZG


Generated by Claude Code

Slim images now mirror to public.ecr.aws/supabase-registry/cli/<service>,
pushed with the `ecr-push-public-cli` role from the central registry
account instead of PROD_AWS_ROLE. The registry stack owns the
repositories, so the workflow checks the destination exists and points
at the enrollment file when it does not, rather than creating it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SNJube4L1c7kHu88o2JXZG
@avallete avallete closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants