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 <[email protected]> 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:
