mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-24 15:55:14 +00:00
makefile: add docker-push target
This commit is contained in:
parent
64dea71249
commit
f53fbffd1d
4
Makefile
4
Makefile
|
@ -32,4 +32,8 @@ docker:
|
||||||
docker build --build-arg GO_MOD_CACHE=.mod --tag yoanlin/bbgo .
|
docker build --build-arg GO_MOD_CACHE=.mod --tag yoanlin/bbgo .
|
||||||
bash -c "[[ -n $(DOCKER_TAG) ]] && docker tag yoanlin/bbgo yoanlin/bbgo:$(DOCKER_TAG)"
|
bash -c "[[ -n $(DOCKER_TAG) ]] && docker tag yoanlin/bbgo yoanlin/bbgo:$(DOCKER_TAG)"
|
||||||
|
|
||||||
|
docker-push:
|
||||||
|
docker push yoanlin/bbgo
|
||||||
|
bash -c "[[ -n $(DOCKER_TAG) ]] && docker push yoanlin/bbgo:$(DOCKER_TAG)"
|
||||||
|
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
|
|
Loading…
Reference in New Issue
Block a user