[build] x86 images

This commit is contained in:
Piotr Domański 2024-03-02 15:33:49 +01:00
parent 31b035cb67
commit c858fe2c96

View file

@ -1,6 +1,17 @@
VERSION=0.`git rev-list --count HEAD` VERSION=0.`git rev-list --count HEAD`
.PHONY: black .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/api -f Dockerfile .
push:
docker push registry.domandoman.xyz/fooder/api
black: black:
black . black .