File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
sources/host-ctr/cmd/host-ctr Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ var ecrRefPrefixMapping = map[string]string{
5555 "us-iso-east-1" : "ecr.aws/arn:aws-iso:ecr:us-iso-east-1:" ,
5656 "us-iso-west-1" : "ecr.aws/arn:aws-iso:ecr:us-iso-west-1:" ,
5757 "us-isob-east-1" : "ecr.aws/arn:aws-iso-b:ecr:us-isob-east-1:" ,
58+ "us-isob-west-1" : "ecr.aws/arn:aws-iso-b:ecr:us-isob-west-1:" ,
5859 "us-isof-south-1" : "ecr.aws/arn:aws-iso-f:ecr:us-isof-south-1:" ,
5960 "us-isof-east-1" : "ecr.aws/arn:aws-iso-f:ecr:us-isof-east-1:" ,
6061}
Original file line number Diff line number Diff line change @@ -224,6 +224,17 @@ func TestParseImageURIAsECR(t *testing.T) {
224224 Fips : false ,
225225 },
226226 },
227+ {
228+ "Parse special region" ,
229+ "777777777777.dkr.ecr.us-isob-west-1.sc2s.sgov.gov/my_image:latest" ,
230+ false ,
231+ & parsedECR {
232+ Account : "777777777777" ,
233+ Region : "us-isob-west-1" ,
234+ RepoPath : "my_image:latest" ,
235+ Fips : false ,
236+ },
237+ },
227238 {
228239 "Parse special region" ,
229240 "777777777777.dkr.ecr.us-isof-east-1.csp.hci.ic.gov/my_image:latest" ,
You can’t perform that action at this time.
0 commit comments