Skip to content

Commit a1293c8

Browse files
Fixed Golang artifactory build error (#144)
1 parent c9d3a93 commit a1293c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

block-storage-attacher/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ buildimage: build-systemutil
6868
--build-arg travis_build_number=${TRAVIS_BUILD_NUMBER} \
6969
--build-arg REPO_SOURCE_URL=${REPO_SOURCE_URL} \
7070
--build-arg BUILD_URL=${BUILD_URL} \
71-
--build-arg PROXY_IMAGE_URL_DOCKERHUB=${PROXY_IMAGE_URL_DOCKERHUB} \
7271
-t $(IMAGE):$(VERSION) -f Dockerfile .
7372

7473

@@ -77,7 +76,9 @@ build-systemutil:
7776
#Build executables like block-attacher and system util GO binaries
7877
#go mod download
7978
#go run github.ibm.com/alchemy-containers/go-build-tools/cmd/goproxy -docker-build -- \
80-
docker build -t common-lib-builder --pull -f Dockerfile.builder .
79+
docker build \
80+
--build-arg PROXY_IMAGE_URL_DOCKERHUB=${PROXY_IMAGE_URL_DOCKERHUB} \
81+
-t common-lib-builder --pull -f Dockerfile.builder .
8182
docker run common-lib-builder /bin/true
8283
docker cp `docker ps -q -n=1`:/go/bin/systemutil ./systemutil
8384
docker cp `docker ps -q -n=1`:/go/bin/block-storage-attacher ./block-storage-attacher

0 commit comments

Comments
 (0)