fix: missing context in makefile recipe for docker-build
This commit is contained in:
parent
4ae969421b
commit
b67e4c735e
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -249,8 +249,13 @@ fixme:
|
|||
.PHONY: fixme
|
||||
|
||||
docker-build: ## build docker image
|
||||
docker build -t glenux/teaching-boilerplate:$(BUILD_VERSION)
|
||||
docker tag glenux/teaching-boilerplate:$(BUILD_VERSION) glenux/teaching-boilerplate:latest
|
||||
docker build \
|
||||
--file docker/Dockerfile \
|
||||
--tag glenux/teaching-boilerplate:$(BUILD_VERSION) \
|
||||
.
|
||||
docker tag \
|
||||
glenux/teaching-boilerplate:$(BUILD_VERSION) \
|
||||
glenux/teaching-boilerplate:latest
|
||||
|
||||
docker-push: ## push docker image
|
||||
env docker push glenux/teaching-boilerplate:latest
|
||||
|
|
Loading…
Reference in a new issue