-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
When we build via captain there is some issue with authentication, I am not sure if could be related with the dockerclient version used by captain.
$ captain build --debug
[CAPTAIN] Building image xxxx.dkr.ecr.eu-west-1.amazonaws.com/subscriber:latest
Step 1 : FROM xxxx.dkr.ecr.eu-west-1.amazonaws.com/parent-ruby:2.1.10
Pulling repository xxxx.dkr.ecr.eu-west-1.amazonaws.com/parent-ruby
unauthorized: authentication requiredjenkins@jnlp-slave-th90m:~/workspace/-4164-
$ docker build .
Sending build context to Docker daemon 55.81kB
Step 1 : FROM xxxx.dkr.ecr.eu-west-1.amazonaws.com/parent-ruby:2.4.2
2.1.10: Pulling from parent-ruby
9f0706ba7422: Already exists
d3942a742d22: Already exists
62b1123c88f6: Already exists
2dac6294ef18: Already exists
91f54956d729: Already exists
381da3717f58: Already exists
8788aa3dc6de: Already exists
b86c57913e5c: Already exists
be639df8fd66: Downloading [=====================================> ] 2.528MB/3.392MB
6863531cb3df: Download complete
8c8b2a0367bb: Download complete
We are using amazon-ecr-credential-helper for authentication and we're not using custom config (https://github.com/fsouza/go-dockerclient/blob/master/auth.go#L76), just AWS IAM instance policies to handle auth.
Metadata
Metadata
Assignees
Labels
No labels