Como atualizar, descontinuar e excluir produtos de imagem de contêiner
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Como atualizar imagens no Container Registry
Seguindo o mesmo processo que você realizou ao enviar a imagem para o repositório de teste do Container Registry, adicione a nova imagem ao Container Registry com a tag correta.
Crie a imagem que você quer enviar ao repositório de teste do Container Registry.
Marque sua imagem usando o Docker com a tag da versão atual que você gostaria de atualizar ou com uma nova tag, caso queira a imagem sob uma nova versão:
docker tag {image_name} {staging_repo_path}:{tag}
Por exemplo:
docker tag test-image gcr.io/testpartner/testsolution:latest
Envie a imagem usando gcloud:
gcloud docker push {staging_repo_path}:{tag}
Repita para todas as outras tags que gostaria de adicionar ou atualizar ao seu repositório de teste. Uma única imagem pode ter várias tags.
Lembre-se de que enviar uma imagem ao repositório de teste não a torna
automaticamente visível para os usuários (mesmo que você use uma tag associada a uma versão). Isso ocorre somente depois de atualizar a
versão no Portal do produtor e o produto ser publicado.
É possível gerenciar tags diretamente (adicionar, editar ou excluir) em imagens que já estão no repositório de teste do Container Registry usando a IU do Container Registry.
Como atualizar seus produtos no Portal do Produtor
Abra o Portal do Produtor no console do Google Cloud :
Substitua YOUR_PUBLIC_PROJECT_ID pelo ID do projeto
público que você criou para o Cloud Marketplace, por exemplo,
my-organization-public.
Na lista de produtos, clique no ID do produto.
Na página Visão geral do produto, acesse a seção Imagens do contêiner
e clique em Editar.
Em Versões propostas, clique em Editar. Pode levar alguns segundos para ler o
repositório e carregar as tags.
Clique na versão que você quer atualizar.
Em Tag de exibição, selecione a versão que usa o resumo correspondente à imagem que você atualizou no repositório de preparação do Container Registry.
Depois de atualizar todas as informações da versão, clique em Concluído.
Quando terminar de atualizar as versões com suporte para o produto, clique em Salvar e validar.
Clique em Enviar para enviar as imagens do contêiner para revisão.
Depois que todas as avaliações forem aprovadas, você poderá publicar e lançar o
produto abrindo a página Visão geral do produto e clicando em Publicar.
Como remover versões
Quando você remove uma versão do produto, ela é removida imediatamente da
página de detalhes do produto quando o produto é publicado. No entanto, a remoção
de uma versão não remove as imagens publicadas no Container Registry
público.
Abra o Portal do Produtor no console do Google Cloud :
Substitua YOUR_PUBLIC_PROJECT_ID pelo ID do projeto
público que você criou para o Cloud Marketplace, por exemplo,
my-organization-public.
Na lista de produtos, clique no ID do produto.
Na página Visão geral do produto, acesse a seção Imagens do contêiner
e clique em Editar.
Em Versões propostas, clique em Editar. Pode levar alguns segundos para ler o
repositório e carregar as tags.
Destaque a versão que você quer remover.
Clique em delete para remover a versão.
Clique em Concluído.
Quando terminar de remover as versões do produto, clique em Salvar e validar.
Clique em Enviar para enviar as imagens do contêiner para revisão.
Depois que todas as avaliações forem aprovadas, você poderá publicar e lançar o
produto abrindo a página Visão geral do produto e clicando em Publicar.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[],[],null,["# Updating, deprecating, and deleting container image products\n\nUpdating images in Container Registry\n-------------------------------------\n\nFollowing the same process that you performed when you pushed your image to your\nContainer Registry staging repository, add your new image to\nContainer Registry with the proper tag.\n\n1. Build the image that you want to push to your Container Registry staging repository.\n2. Tag your image using Docker with the tag of the existing version you'd like\n to update (or with a new tag if you want the image under a new version):\n\n `docker tag {image_name} {staging_repo_path}:{tag}`\n\n For example,\n `docker tag test-image gcr.io/testpartner/testsolution:latest`\n3. Push your image using `gcloud`:\n\n `gcloud docker push {staging_repo_path}:{tag}`\n4. Repeat for any additional tags you'd like to add or update to your\n staging repository. Note that a single image can have multiple tags.\n\n Remember that pushing an image to your staging repository doesn't\n automatically make it visible to users (even if you use a tag that is\n already associated with a version); this only happens after you update the\n version in Producer Portal and your product is published.\n\nYou can manage tags directly (add, edit, or delete) on images already in\nyour Container Registry staging repository using the\n[Container Registry UI](https://cloud.google.com/container-registry/).\n\n### Updating your products in Producer Portal\n\n1. Open Producer Portal in the Google Cloud console:\n\n ```\n https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID\n ```\n\n Replace \u003cvar translate=\"no\"\u003eYOUR_PUBLIC_PROJECT_ID\u003c/var\u003e with the ID for the public\n project that you created for Cloud Marketplace---for example,\n `my-organization-public`.\n | **Note:** If you don't see the link, or can't access the URL, verify that you've selected the correct project and have the Editor (`roles/editor`) role for the project. If you still can't access the URL, use the [Partner Support Desk](https://g.co/cloud/psd-partner) to request assistance, and include the word \"Marketplace\" in your description. For more information about Partner Support Desk, visit [Request assistance with Cloud Marketplace](/marketplace/docs/partners/get-support).\n2. In the list of products, click the product ID.\n\n3. On the **Overview** page of your product, go to the **Container images**\n section, and click **Edit**.\n\n4. By **Proposed Releases** , click **Edit**. It might take a few seconds to read the\n repository and load your tags.\n\n5. Click the release that you want to update.\n\n6. In **Display tag**, select the version that uses the corresponding\n digest to the image you updated in your staging Container Registry repository.\n\n7. After you've updated all the information for the release, click **Done**.\n\n8. When you're done updating supported releases to your product, click **Save and Validate**.\n\n9. Click **Submit** to submit the container images for review.\n\n10. After all reviews have been approved, you can publish and launch the\n product by opening the **Overview** page of your product and clicking **Publish**.\n\nRemoving versions\n-----------------\n\nWhen you remove a release from your product, it is immediately removed from\nthe product details page when the product is published. However, removing\na release does not remove the images published to the public\nContainer Registry.\n\n1. Open Producer Portal in the Google Cloud console:\n\n ```\n https://console.cloud.google.com/producer-portal?project=YOUR_PUBLIC_PROJECT_ID\n ```\n\n Replace \u003cvar translate=\"no\"\u003eYOUR_PUBLIC_PROJECT_ID\u003c/var\u003e with the ID for the public\n project that you created for Cloud Marketplace---for example,\n `my-organization-public`.\n | **Note:** If you don't see the link, or can't access the URL, verify that you've selected the correct project and have the Editor (`roles/editor`) role for the project. If you still can't access the URL, use the [Partner Support Desk](https://g.co/cloud/psd-partner) to request assistance, and include the word \"Marketplace\" in your description. For more information about Partner Support Desk, visit [Request assistance with Cloud Marketplace](/marketplace/docs/partners/get-support).\n2. In the list of products, click the product ID.\n\n3. On the **Overview** page of your product, go to the **Container images**\n section, and click **Edit**.\n\n4. By **Proposed Releases** , click **Edit**. It might take a few seconds to read the\n repository and load your tags.\n\n5. Highlight the release that you want to remove.\n\n6. Click delete to remove the version.\n\n7. Click **Done**.\n\n8. When you're done removing releases to your product, click **Save and Validate**.\n\n9. Click **Submit** to submit the container images for review.\n\n10. After all reviews have been approved, you can publish and launch the\n product by opening the **Overview** page of your product, and clicking **Publish**."]]