You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/09/27 02:32:46 UTC

[skywalking-satellite] branch main updated: Fix wrong Docker registry (#72)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-satellite.git


The following commit(s) were added to refs/heads/main by this push:
     new 1f3c08a  Fix wrong Docker registry (#72)
1f3c08a is described below

commit 1f3c08a5af19f8522f2a40d9339c45fa816bfe07
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Sep 27 10:32:39 2021 +0800

    Fix wrong Docker registry (#72)
---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d037871..2339253 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@
 #
 
 VERSION ?= latest
+HUB ?= apache
 OUT_DIR = bin
 BINARY = skywalking-satellite
 
@@ -90,11 +91,11 @@ check: clean
 
 .PHONY: docker
 docker:
-	docker build --build-arg VERSION=$(VERSION) -t apache/skywalking-satellite:v$(VERSION) --no-cache . -f docker/Dockerfile
+	docker build --build-arg VERSION=$(VERSION) -t $(HUB)/skywalking-satellite:v$(VERSION) --no-cache . -f docker/Dockerfile
 
 .PHONY: docker.push
 docker.push:
-	docker push apache/skywalking-satellite:v$(VERSION)
+	docker push $(HUB)/skywalking-satellite:v$(VERSION)
 
 .PHONY: release
 release: