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

publish/docker: login should happen early #981

Merged
merged 1 commit into from May 15, 2015

Conversation

vaijab
Copy link

@vaijab vaijab commented Apr 17, 2015

This fixes an issue where base image which drone is using to build an
image for publishing comes from a private repo.

This fixes an issue where base image which drone is using to build an
image for publishing comes from a private repo.
@vaijab
Copy link
Author

vaijab commented May 15, 2015

Any update on this please?

@dangra
Copy link

dangra commented May 15, 2015

docker login must happen before docker build because of --pull right?

I guess your base repository (FROM directive) is private and in the same registry that you are publishing built images.

It still won't work if registry for base image is different to registry used to publish the built image but not a common case.

@vaijab
Copy link
Author

vaijab commented May 15, 2015

That's right @dangra

@dangra
Copy link

dangra commented May 15, 2015

+1 to merge :)

bradrydzewski added a commit that referenced this pull request May 15, 2015
publish/docker: login should happen early
@bradrydzewski bradrydzewski merged commit 09b26bf into harness:master May 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants