Share Vercel Container Registry repositories across teams
Vercel Container Registry now supports sharing repositories with other teams in read-only mode, allowing recipients to pull and use images while preventing pushes, deletions, or re-sharing. Repository sharing can be managed via the project dashboard or Vercel CLI and supports up to 100 teams per repository.
now lets you share a repository with other Vercel teams to grant read access to its images.Vercel Container Registry
Sharing is read-only and covers the whole repository. Recipients can pull and use every image, but cannot push, delete, or re-share. You can also share a repository with your own team. Each repository can be shared with up to 100 teams.
Share from the project dashboard under Images → repository → Settings → Repository Sharing, or with the Vercel CLI:
# Share a repository with a team
vercel vcr permissions my-repository add other-team
# List teams with access
vercel vcr permissions my-repository ls
# Revoke a team's access
vercel vcr permissions my-repository rm other-team
# Remove all shared access
vercel vcr permissions my-repository clear
Shared images can be used in , accepting a team-scoped reference in : Vercel SandboximageSandbox.create()
import { Sandbox } from '@vercel/sandbox';
const sandbox = await Sandbox.create({
image: 'other-team/their-project/shared-repository:latest',
});
Repository sharing is available on all plans. Update the Vercel CLI to v58.3.0 or later with to get started and see the Vercel Container Registry to learn more. npm i -g vercel@latestdocumentation
Source: original entry ↗