fooder-app/Makefile

15 lines
308 B
Makefile
Raw Normal View History

2024-03-02 15:36:44 +01:00
VERSION=0.`git rev-list --count HEAD`
.PHONY: black
DOCKER_BUILD=docker build
ifeq ($(shell uname -m), arm64)
DOCKER_BUILD=docker buildx build --platform linux/amd64
endif
build:
$(DOCKER_BUILD) -t registry.domandoman.xyz/fooder/app -f Dockerfile .
push:
docker push registry.domandoman.xyz/fooder/app