diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-08 11:54:17 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-08 11:54:17 +0100 |
commit | 5aef16309a43ccc52773449acf6bd1d273eaa5a8 (patch) | |
tree | 279ff4720e20329046df2d69e570d67106fec9fd /Makefile | |
parent | Makefile: remove obsolete recipes (diff) | |
download | cgitize-5aef16309a43ccc52773449acf6bd1d273eaa5a8.tar.gz cgitize-5aef16309a43ccc52773449acf6bd1d273eaa5a8.zip |
Makefile: fix make */build recipes
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -72,7 +72,7 @@ endif # Dockerfile's, create a manifest manually, etc.), so it's only here for # testing purposes, and native builds. docker/build: check-build - docker build -t '$(call escape,$(DOCKER_USERNAME))/$(call escape,$(PROJECT))' . + docker build -t '$(call escape,$(DOCKER_USERNAME))/$(call escape,$(PROJECT))' -f docker/Dockerfile . .PHONY: docker/push # `docker push` would replace the multiarch repo with a single image by default @@ -91,11 +91,11 @@ buildx/rm: .PHONY: buildx/build buildx/build: - docker buildx build -t '$(call escape,$(DOCKER_USERNAME))/$(call escape,$(PROJECT))' --platform '$(call escape,$(PLATFORMS))' --progress plain . + docker buildx build -t '$(call escape,$(DOCKER_USERNAME))/$(call escape,$(PROJECT))' -f docker/Dockerfile --platform '$(call escape,$(PLATFORMS))' --progress plain . .PHONY: buildx/push buildx/push: - docker buildx build -t '$(call escape,$(DOCKER_USERNAME))/$(call escape,$(PROJECT))' --platform '$(call escape,$(PLATFORMS))' --progress plain --push . + docker buildx build -t '$(call escape,$(DOCKER_USERNAME))/$(call escape,$(PROJECT))' -f docker/Dockerfile --platform '$(call escape,$(PLATFORMS))' --progress plain --push . venv_dir := .venv |