fooder-app/Makefile

18 lines
354 B
Makefile
Raw Permalink 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
2024-03-25 19:46:03 +01:00
.PHONY: build
2024-03-02 15:36:44 +01:00
build:
2024-04-04 19:03:41 +02:00
flutter build web
2024-03-02 15:36:44 +01:00
$(DOCKER_BUILD) -t registry.domandoman.xyz/fooder/app -f Dockerfile .
2024-03-25 19:46:03 +01:00
.PHONY: push
2024-03-02 15:36:44 +01:00
push:
docker push registry.domandoman.xyz/fooder/app