/drone-dotnetcore

lab showcasing drone CI/CD with .NET core Web, WebAPI, Library, and console projects

Primary LanguageHTML

How to run drone CI with dotnet core

drone-dotnetcore

lab showcasing drone CI/CD with .NET core Web, WebAPI, Library, and console projects

manual process:

# Build container
cd Web
docker build -t dinorows/core-container .
# Run final container, mapping 8080 on the local machine to 80 on the container.
docker run -p 8080:80 --rm -it dinorowscore-container

automated process (using drone ci):

just use the .drone.yml file! As soon as there is a git update, drone ci is going to run and do the steps in .drone.yml

Note

To use drone secrets instead of a temporary access token from cloud.drone.io, use the format in .drone-2.yaml!