Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support authentication against Amazon ECR #11

Open
JeanRev opened this issue Mar 28, 2017 · 1 comment
Open

Support authentication against Amazon ECR #11

JeanRev opened this issue Mar 28, 2017 · 1 comment

Comments

@JeanRev
Copy link
Owner

JeanRev commented Mar 28, 2017

Amazon EC2 registries (ECR) are using one-time-password issued through the AWS authentication service. They have a fixed lifespan of 12 hours, and must therefore be continuously refreshed.

Two options are considered:

  1. Retrieving the username/password from the Docker credential store.
  2. Querying AWS ourselves, using the ECR Java API (if the SDK is leightweight enough).

Depends on #7.

@syba4ever
Copy link

Hello, I discover this issue as I am currently looking for a way to pull agent image from AWS ECR. As a workaround, I was thinking of storing the AWS token in a param, refreshing it regulary via a build and then referencing the param in the docker password in the cloud profile configuration. Unfortunately, the docker user and password do not support referencing params.
Is there any way to dowload agent image from AWS ECR, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants