aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

ECRPushImage support multiple tag

Open Sbolder opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

On EcrPushImage if you put more than one tag in pushTag the error for \n character compare.

Describe the solution you'd like

need implement a solution to manage more tha one tag like image

Describe alternatives you've considered

Alternative is replicate more task of task: ECRPushImage@1 and chage the tag for each task

Sbolder avatar Nov 23 '22 10:11 Sbolder

Hey. I have hit the same issue. I agree that we need something similar to the Docker@2 tasks which can take a comma-separated list or array as listed in the image above.

Workarounds at the moment include running the task multiple times for all the tags you need or running a separate AWS Script task where you run AWS retag command https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-retag.html

ddjmos avatar Oct 11 '23 15:10 ddjmos