Is there a way to edit AWS ECR image tags or otherwise manage them?

0

I want to set tags in case I use an older version of the AWS ECR image.

If you push with the same tag, it becomes <untagged>.

So I searched and there was a method of retagging in the docs, but it was a method of attaching multiple tags. https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-retag.html

Is there a way to directly edit or is there another tag management method?

joker
質問済み 1年前359ビュー
1回答
1
承認された回答

Generally I would suggest you to configure your repository to be immutable to prevent image tags from being overwritten if you need to use older version of image. Immutable tags gives you a way to easily and uniquely identify an image.

In your case, if your image tagged like v1.0.1, v1.0.2, v1.0.3 etc.. You can use the old version tag directly for rollback (v1.0.1). This blog by Marius discussed best practice about how we should tag the image.

You can edit ECR Image tag mutability here: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html

Alick
回答済み 1年前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ