-
Notifications
You must be signed in to change notification settings - Fork 28
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
.NET Core custom build image and Docker hub image push #2870
Comments
@johnmckinzie The error message |
Are you talking about the CI image or the image I'm trying to build and push? So since I'm building in a custom container, I should use the "push" commanded to build the Docker image on the host machine not in the Docker container, correct? If that's true, the following is the only example I found in the documentation:
I went ahead and added a
Here is my latest shippable.yml:
|
@johnmckinzie let me clarify your scenario:
Do you have the Dockerfile for dibbler/dibbler-api at the root of your repository? That is where we look for the file when you run a docker build command in your yml. |
@manishas You are correct in your understanding. That is what I'm trying to achieve. With regards to the Dockerfile, it is actually in a sub-directory (src/DibblerApi) because the repo contains two projects, the application and the unit test project. This is a common structure in the .NET Core community. |
@johnmckinzie Please move whatever is in your
|
I just noticed you're already moving to |
closing this since it appears to be resolved. @johnmckinzie please let us know if you need help with anything else. |
If anyone ever needs another example of shippable.yml for dotnet core, here is a blog post about my migration to the MSBuild SDK with .NET Core 1.0.1 SDK. http://geeks.akinox.com/2017/03/17/migrating-dotnetcore/ |
I don't really know if this is a bug, b/c I know there are some restrictions on the custom build images. I'm trying to build my project using the following custom image:
https://hub.docker.com/r/microsoft/dotnet/
I can successfully build the project using the file below:
However, when I get tot the
push
step, I get the following error:I can successfully push to that repo form my local machine using the same credentials.
I would be nice to now that it is or is not tied to the custom image.
The text was updated successfully, but these errors were encountered: