ECR Lifecycle Tasks标签前缀是否区分大小写?

问题描述

如果我在AWS ECR上有生命周期策略。这些任务区分大小写吗? 例如,假设我要执行以下政策:

<smartTable:SmartTable entitySet="Setname" ...>
    <t:Table alternateRowColors="true" visibleRowCountMode="Auto" selectionMode="MultiToggle">
        <t:columns>
            <t:Column width="5em" sortProperty="Columnname" filterProperty="Columnname" app:p13nData='\{"columnKey": "Columnname","leadingProperty": "Columnname"}'>
                <t:template>
                    <Text text="{Columnname}"/>
                </t:template>
                <Label text="{/#Setname/Columnname/@sap:label}"/>
            </t:Column>
            ...

现在,如果在我的注册表中有两张超过15天的图片标记

{
      "action": {
        "type": "expire"
      },"selection": {
        "countType": "sinceImagePushed","countUnit": "days","countNumber": 15,"tagStatus": "tagged","tagPrefixList": [
          "ABCD-"
        ]
      },"description": "Expire ABCD images older than 15 days","rulePriority": 3
    }

它会使这两个图像都失效,还是仅仅abcd-1.0.0 ABCD-1.1.1 失效?

解决方法

Docker标签区分大小写:

有关拉取Docker容器的快速文章(这也适用于docker run)…在指定容器映像时,容器映像名称和标签区分大小写。我们不会讨论解决问题的时间太多了,我也无法弄清楚……但是,我只想说,这比我愿意公开承认的要多。

https://www.sqlservercentral.com/blogs/docker-image-tags-are-case-sensitive