Deleting tags from a public repository in Amazon ECR public - Amazon ECR Public
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting tags from a public repository in Amazon ECR public

You can delete tags from an individual resource.

Amazon Web Services Management Console
  1. Open the Amazon ECR console at https://console.amazonaws.cn/ecr/.

  2. From the navigation bar, select the Region to use.

  3. On the Repositories page, on the Public tab, choose the repository to view.

  4. On the Repositories > repository_name page, select Tags from the navigation pane.

  5. On the Tags page, select Edit.

  6. On the Edit tags page, select Remove for each tag you want to delete, and choose Save.

Amazon CLI

You can delete one or more tags by using the Amazon CLI or an API.

The following example shows how to delete a tag from an existing public repository.

aws ecr-public untag-resource \ --resource-arn arn:aws:ecr-public::account_id:repository/repository_name \ --tag-keys tag_key \ --region us-east-1