[build] x86 images
This commit is contained in:
parent
8b7f8b7011
commit
255a7b28b9
1 changed files with 14 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
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
|
Loading…
Reference in a new issue