private docker registry doesnt allow ecr
lerljaku opened this issue · 1 comments
i want to setup docker registry incombination hosting private one in AWS ECR. Aws ecr auth token expires in 12 hours, so it cannot be used statically in the config and needs to be renewed, every 12 hours, am i right?
Is there some workaround for this? like creating cronjob that does authentication every 12 hours in the container with "default docker registry" option seleected?
https://extensions-docs.gocd.org/ecs/current/cluster-profile/#docker-registry
thanks for reply
Probably, yes, but that's not really something this plugin can be concerned with, as it is specific to AWS and this is AWS agnostic. Also, that link to to the old ECS extension, so not directly related to this.
You could perhaps try something like https://github.com/awslabs/amazon-ecr-credential-helper.