Skip to content

Commit 12e64aa

Browse files
authored
fix docker tag for controllers (zerotier#2066)
1 parent 22ab673 commit 12e64aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

make-linux.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ central-controller: FORCE
419419
make -j4 ZT_CONTROLLER=1 one
420420

421421
central-controller-docker: _buildx FORCE
422-
docker buildx build --platform linux/amd64,linux/arm64 --no-cache -t registry.zerotier.com/zerotier/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=`git name-rev --name-only HEAD` . --push
423-
@echo Image: registry.zerotier.com/zerotier/ztcentral-controller:${TIMESTAMP}
422+
docker buildx build --platform linux/amd64,linux/arm64 --no-cache -t registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=`git name-rev --name-only HEAD` . --push
423+
@echo Image: registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}
424424

425425
debug: FORCE
426426
make ZT_DEBUG=1 one

make-mac.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ _buildx:
184184
@echo docker buildx inspect --bootstrap
185185

186186
central-controller-docker: _buildx FORCE
187-
docker buildx build --platform linux/arm64,linux/amd64 --no-cache -t registry.zerotier.com/zerotier/ztcentral-controller:${TIMESTAMP} -f ext/central-controller-docker/Dockerfile --build-arg git_branch=$(shell git name-rev --name-only HEAD) . --push
188-
@echo Image: registry.zerotier.com/zerotier/ztcentral-controller:${TIMESTAMP}
187+
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
188+
@echo Image: registry.zerotier.com/zerotier-central/ztcentral-controller:${TIMESTAMP}
189189

190190
clean:
191191
rm -rf MacEthernetTapAgent *.dSYM build-* *.a *.pkg *.dmg *.o node/*.o controller/*.o service/*.o osdep/*.o ext/http-parser/*.o $(CORE_OBJS) $(ONE_OBJS) zerotier-one zerotier-idtool zerotier-selftest zerotier-cli zerotier doc/node_modules zt1_update_$(ZT_BUILD_PLATFORM)_$(ZT_BUILD_ARCHITECTURE)_* zeroidc/target/

0 commit comments

Comments
 (0)