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

kezhenxu94 pushed a commit to branch kezhenxu94-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git


The following commit(s) were added to refs/heads/kezhenxu94-patch-1 by this 
push:
     new 4561a40  Update Makefile
4561a40 is described below

commit 4561a408d552703979ee67547ee7383fad3996f8
Author: kezhenxu94 <[email protected]>
AuthorDate: Fri Aug 13 15:04:26 2021 +0800

    Update Makefile
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 673441a..f088f64 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ ARCH := $(shell uname)
 OSNAME := $(if $(findstring Darwin,$(ARCH)),darwin,linux)
 HUB ?= docker.io/apache
 
+WORKSPACE_PATH=/github/workspace
+
 GO := GO111MODULE=on go
 GO_PATH = $(shell $(GO) env GOPATH)
 GO_BUILD = $(GO) build
@@ -73,7 +75,7 @@ verify: clean lint test
 
 .PHONY: docker
 docker:
-       docker build --no-cache . -t $(HUB)/$(PROJECT):$(VERSION)
+       docker build --no-cache --build-arg WORKSPACE=$(WORKSPACE_PATH) . -t 
$(HUB)/$(PROJECT):$(VERSION)
 
 release-src: clean
        -mkdir $(RELEASE_SRC)

Reply via email to