![]() ![]() Click on Build Steps to start creating the build pipeline.Click on Add Registry Connection and use the docker connection created.Click on Add Build Feature and select Docker Support.Click on Add Connection and configure Docker Registry.Go the Projects setting page and click on Connections.Next we need to connect our Docker Hub repository to team city.Provide the project name and click on Proceed.Provide the repository URL (), and credentials to access the repository Next we will be connecting our TeamCity server to the GitHub repository so as it can pull up the code every-time there is a new commit Click on Project and then create project.I am also assuming you know about docker and are here to understand how to implement this integration Sample Dot Net core solution with a docker file. So here I am trying to explain the steps I followed.ĭocker Hub account with a repository to publish the image of the asp.net core solution ĭocker Desktop Installed on local to pull and run the deployed image Since I did could find a proper resource for implementing the same I thought why not give it a go myself. I then went on to create a free trial account on the TeamCity cloud server where I used this docker file to build, publish and then push the docker image to my Docker Hub repositoryįinally I pulled the docker image on anther machine and there it was our weatherforecast api up and running □ □. I used the out of box project created by Visual studio and manually added a docker file in it. So I researched about it and went on to implement it, and here's in brief what I did. Net Core app using the Github, TeamCity Cloud server and Docker Hub. Hey guys, so recently I had this requirement which required me to integrate a build process for. ![]()
0 Comments
Leave a Reply. |