我需要将图像推送到AWS中,在最新版本中似乎有一个错误,所以我降级到Conine3.0.1,并使用了本工作中推荐的自定义资源类型:https://github.com/concourse/concourse/issues/1252
尽管如此,当我试图推送到ECR时,我仍然得到了一个“没有基本的auth凭据”--这里是我如何声明资源类型的:
resource_types:
- name: docker-image-2
type: docker-image
source:
repository: concourse/docker-image-resource
tag: docker-1.12.6
resources:
- name: genesis-builder-docker-image
type: docker-image-2
source:
repository: xxxx.dkr.ecr.eu-west-1.amazonaws.com/genesis-builder
aws_access_key_id: concourse-ecr
aws_secret_access_key: xxxx(欢迎任何想法;)
发布于 2017-06-30 09:20:42
糟糕的是,我使用的是IAM用户名,而不是访问密钥id。此外,使用股票码头-图像资源,不需要定义资源类型。
https://stackoverflow.com/questions/44808256
复制相似问题