-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Labels
feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.
Description
Is your feature request related to a problem? Please describe.
Hello Team,
I am pushing a docker image to the AWS ECR repository using the Azure DevOps pipeline with the help of the below task “ECRPushImage@1”.
- task: ECRPushImage@1
inputs:
awsCredentials: 'AWS_SERVICE_ACC'
regionName: 'us-east-1'
imageSource: 'imagename'
sourceImageName: '${{parameters.image_name}}'
sourceImageTag: '$(project_version)'
repositoryName: '${{parameters.image_name}}'
pushTag: '$(project_version)'
autoCreateRepository: true
forceDockerNamingConventions: false
logRequest: true
logResponse: true
It does create the ECR repository if it does not exist.
I want to enable ‘tag-immutability’ also for this repository so that tags can not be overwritten. &
I want to apply the lifecycle policy for this created repository also.
Is there any way to add these two options in this task ECRPushImage
Describe the solution you'd like
I want options in this task for tag-immutability & lifecycle policy text.
Describe alternatives you've considered
I can not use this task so I had to go through the rout of the AWS CNF template
Thanks!
Jttpo2 and violenti
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.