Skip to content

Commit 35d3755

Browse files
committed
v2controller docker target on mac
1 parent 1a6c0a5 commit 35d3755

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

make-linux.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ central-controller-docker: _buildx FORCE
433433

434434
centralv2-controller-docker: _buildx FORCE
435435
docker buildx build --platform linux/amd64,linux/arm64 --no-cache -t us-central1-docker.pkg.dev/zerotier-d648c7/central-v2/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=`git name-rev --name-only HEAD` . --push
436-
@echo Image: registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}
436+
@echo Image: us-central1-docker.pkg.dev/zerotier-d648c7/central-v2/ztcentral-controller:${TIMESTAMP}
437437

438438
debug: FORCE
439439
make ZT_DEBUG=1 one

make-mac.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@ central-controller-docker: _buildx FORCE
208208
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
209209
@echo Image: registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}
210210

211+
centralv2-controller-docker: _buildx FORCE
212+
docker buildx build --platform linux/amd64,linux/arm64 --no-cache -t us-central1-docker.pkg.dev/zerotier-d648c7/central-v2/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=`git name-rev --name-only HEAD` . --push
213+
@echo Image: us-central1-docker.pkg.dev/zerotier-d648c7/central-v2/ztcentral-controller:${TIMESTAMP}
214+
211215
docker-release: _buildx
212216
docker buildx build --platform linux/386,linux/amd64,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x -t zerotier/zerotier:${RELEASE_DOCKER_TAG} -t zerotier/zerotier:latest --build-arg VERSION=${RELEASE_VERSION} -f Dockerfile.release . --push
213217

0 commit comments

Comments
 (0)