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

[skywalking-satellite] branch docker-snapshot created (now caefe3c)

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

kezhenxu94 pushed a change to branch docker-snapshot
in repository https://gitbox.apache.org/repos/asf/skywalking-satellite.git.


      at caefe3c  Fix wrong Docker registry

This branch includes the following new commits:

     new caefe3c  Fix wrong Docker registry

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[skywalking-satellite] 01/01: Fix wrong Docker registry

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit caefe3cde4edd596a156d0a805043cd202d34eb5
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Mon Sep 27 10:15:29 2021 +0800

    Fix wrong Docker registry
---
 .github/workflows/publish-docker.yaml | 1 +
 Makefile                              | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml
index 63fcf74..5399c66 100644
--- a/.github/workflows/publish-docker.yaml
+++ b/.github/workflows/publish-docker.yaml
@@ -20,6 +20,7 @@ on:
   push:
     branches:
       - main
+      - docker-snapshot
 
 env:
   HUB: ghcr.io/apache/skywalking-satellite
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: