Registry - Definicao do Glossario de CI/CD
Um registry e um servidor que armazena e distribui imagens de container (e outros artifacts OCI) enderecados por nome de repositorio, tag e digest. Docker Hub, GitHub Container Registry (ghcr.io), Amazon ECR e Google Artifact Registry sao exemplos comuns.
Como o CI o usa
Um pipeline se autentica em um registry, faz push da imagem que construiu e depois faz pull dela para testes ou deploy. Pull/push acontecem pela API de distribuicao OCI, e as imagens sao deduplicadas por digest de camada, de modo que camadas compartilhadas nao sao reenviadas.
Exemplo de login
.github/workflows/ci.yml
echo "$TOKEN" | docker login ghcr.io -u "$USER" --password-stdin
docker push ghcr.io/org/app:1.2.3Guias relacionados
OCI Image - CI/CD Glossary DefinitionOCI Image: An OCI image is a container image that follows the Open Container Initiative image specification:…
Pull Rate Limit - CI/CD Glossary DefinitionPull Rate Limit: A pull rate limit is a cap a registry places on how many image pulls a client may perform in…
Image Tag Immutability - CI/CD Glossary DefinitionImage Tag Immutability: Image tag immutability is a registry setting that prevents an existing tag from being…