Docker image to automate dotnet builds
-
update dockerfile, and version number in package.json
-
build local version:
npm run build
-
push new version to dockerhub:
npm run push
-
tag and push again (optional but recommended):
npm run publish
image: frontliners/dotnet-build
pipelines:
default:
- step:
script:
- /dotnet-build.sh
Command | Description |
---|---|
build | build the container with latest tag |
push | pushes the container |