admin管理员组文章数量:1336645
I'm setting up a Docker Cloud (for dynamically assigning container agents) using the Docker plugin /
Some of my images are saved on our AWS account's ECR, and I can't store persistent ECR credentials to fit this format, the Jenkins cloud configuration asks for -
I expected some workaround to exist, but instead I just simply can't pull images from ECR given I can't use anything like docker.withRegistry
Since we're talking about configuration and not something inside the pipeline code. Anyone encountered enything similar? Or got any ideas on how to deal with it?
Thanks!
I'm setting up a Docker Cloud (for dynamically assigning container agents) using the Docker plugin https://plugins.jenkins.io/docker-plugin/
Some of my images are saved on our AWS account's ECR, and I can't store persistent ECR credentials to fit this format, the Jenkins cloud configuration asks for -
I expected some workaround to exist, but instead I just simply can't pull images from ECR given I can't use anything like docker.withRegistry
Since we're talking about configuration and not something inside the pipeline code. Anyone encountered enything similar? Or got any ideas on how to deal with it?
Thanks!
- "I can't store persistent ECR credentials to fit this format, the Jenkins cloud configuration asks for -" in what format are your credentials that Jenkins cannot store them? – Iterokun Commented Nov 20, 2024 at 12:41
- I'm using the docker cloud plugin - Which requires a persistent set of cerdentials as part of Jenkins' credentials to be passed for the image templates as registry credetnials. This means that unless I want to manually generate a new token once every 8hrs, I won't be able to implement the dynamic ECR tokens. – doralm Commented Nov 20, 2024 at 13:02
1 Answer
Reset to default 0Take a look at the aws-credentials plugin. It should be able to story any kind of AWS credentials and provide them for the registry auth.
本文标签:
版权声明:本文标题:amazon web services - Allowing ECR Credentials to persist inside Jenkins Docker Cloud configuration - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742409116a2469428.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论