Docker image to automate dotnet builds
-
update dockerfile
-
build local version:
docker build -t inforitnl/dotnet-build .
-
push new version to dockerhub:
docker push inforitnl/dotnet-build
-
tag and push again (optional but recommended):
docker tag inforitnl/dotnet-build inforitnl/dotnet-build:1 docker push inforitnl/dotnet-build:1
image: inforitnl/dotnet-build
pipelines:
default:
- step:
script:
- /dotnet-build.sh
Command | Description |
---|---|
build | build the container with latest tag |
push | pushes the container |