./build.sh
docker push docker build docker -t docker-hosted.gladeos.net/dotnet-sdk8:$(date '+%Y.%m.%d.%H%M')
- Requires docker-hub secret to access private repo
- Requires git-repo-volume to store packages for performance, should be RWX
- Should have a registry cache setup at http://registry-cache:5000 to save image pull requests
- Requires a git mirror setup with a path for you to clone the repo
- You will have needed to setup the git server and client keeps on the git mirror for access
Requires
- --branch (branch to build)
- --repo (repo to clone)
- --file (defaults to build.yaml)
- --build (command to pass to build project)
- --env (can be repeated and used to set env variables for your build script)
dotnet run -- --repo git-server-service.jenkins.svc.cluster.local --branch company-usergroup --image "mindmatrix/taskmanager2" --project "Applications/MindMatrix.Applications.TaskManager2/src/taskmanager.csproj"dotnet run -- --repo git-server-service.jenkins.svc.cluster.local --branch main --image "mindmatrix/taskmanager2" --project "Applications/MindMatrix.Applications.TaskManager2/src/MindMatrix.Applications.TaskManager.csproj"