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