Project to demo building ASP.NET images using GitHub actions
To understand how to use this repo, make sure you read this article:
Building and Hosting Docker images on GitHub with GitHub Actions
In order to run this example, you'll need to have installed on your machine (Windows, Mac, Linux):
- Docker Desktop (or Docker on Linux)
- .NET Core SDK 3.1
The steps to run are:
- clone this tool:
git clone https://github.com/hd9/aspnet-github-actions
- cd into the folder:
cd aspnet-github-actions
- Build a docker image:
docker build . -t webapp
- Run a container with:
docker run --rm -it -p 8080:80 webapp
- Open your browser and navigate to: http://localhost:8080
And don't forget to visit blog.hildenco.com.