Skip to content

Commit

Permalink
Fix the problem that kbimage cannot be compiled in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
wei.ji committed Aug 2, 2021
1 parent 0081e72 commit a62369e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ clean:
hack/make-rules/clean.sh
endif

.PHONY: images gmimage lcimage
images: gmimage lcimage
gmimage lcimage:
.PHONY: images gmimage lcimage kbimage
images: gmimage lcimage kbimage
gmimage lcimage kbimage:
docker build --build-arg GO_LDFLAGS=${GO_LDFLAGS} -t ${IMAGE_REPO}/sedna-${@:image=}:${IMAGE_TAG} -f build/${@:image=}/Dockerfile .


Expand All @@ -137,8 +137,9 @@ push-all: push push-examples

# push target pushes sedna-built images
push: images
docker push ${IMAGE_REPO}/sedna-gm:${IMAGE_TAG}
docker push ${IMAGE_REPO}/sedna-lc:${IMAGE_TAG}
docker push ${IMAGE_REPO}/sedna-gm:${IMAGE_TAG}
docker push ${IMAGE_REPO}/sedna-lc:${IMAGE_TAG}
docker push ${IMAGE_REPO}/sedna-kb:${IMAGE_TAG}
bash scripts/storage-initializer/push_image.sh

push-examples:
Expand Down

0 comments on commit a62369e

Please sign in to comment.