fix: missing context in makefile recipe for docker-build

This commit is contained in:
Glenn Y. Rolland 2022-01-30 17:14:02 +01:00
parent 4ae969421b
commit b67e4c735e

View file

@ -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