Skip to content

Commit

Permalink
add make target to build the central-controller run image
Browse files Browse the repository at this point in the history
  • Loading branch information
glimberg committed Mar 19, 2024
1 parent 5ae862f commit de4ee08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make-mac.mk
Expand Up @@ -186,6 +186,9 @@ _buildx:
controller-builder: _buildx FORCE
docker buildx build --platform linux/arm64,linux/amd64 --no-cache -t registry.zerotier.com/zerotier/ctlbuild:latest -f ext/central-controller-docker/Dockerfile.builder . --push

controller-run: _buildx FORCE
docker buildx build --platform linux/arm64,linux/amd64 --no-cache -t registry.zerotier.com/zerotier-central/ctlrun:latest -f ext/central-controller-docker/Dockerfile.run_base . --push

central-controller-docker: _buildx FORCE
docker buildx build --platform linux/arm64,linux/amd64 --no-cache -t registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=$(shell git name-rev --name-only HEAD) . --push
@echo Image: registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}
Expand Down

0 comments on commit de4ee08

Please sign in to comment.