Closed eimarfandino closed 5 years ago
I have been digging in into this issue and i found out that in the class builder.go
the ImageBuild do not pass the authentication options. Therefore is in your Dockerfile a pull from a private repo needs to happen this will throw the denied: access forbidden
.
hey, thanks for bringing this up. Today's all about trying to find our way home from kubecon, but we're here! and thanks for the PR. :-) @radu-matei @bacongobbler
thanks @squillace. Merge request is ready to be reviewed: https://github.com/Azure/draft/pull/914
@squillace @radu-matei @bacongobbler Can you guys please take a look to this issue?
our bad. thanks for the re-up. @radu-matei or @bacongobbler have a quick look at this? I'd sorta like it to work, too. :-)
@squillace do you know what are the release expectations? Would like to have this fix in the released version.
I am getting an access forbidden when dling a
draft up
. It seems that draft is not using the docker credentials stored in the docker config file.Login works:
Draft up fails:
Access denied?
I can pull, so it seems draft is not using the same credentials?
Is this an issue with authentication or an issue with draft using v2 of the registry api?