[bump]
This commit is contained in:
parent
fc38926826
commit
c5bc6a45e8
1 changed files with 6 additions and 8 deletions
14
Makefile
14
Makefile
|
|
@ -1,13 +1,11 @@
|
|||
VERSION=0.`git rev-list --count HEAD`
|
||||
|
||||
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/utils/serverchecker -f Dockerfile .
|
||||
docker build -t registry.domandoman.xyz/utils/serverchecker:manifest-amd64 --build-arg ARCH=amd64/ -f Dockerfile .
|
||||
docker build -t registry.domandoman.xyz/utils/serverchecker:manifest-arm32v7 --build-arg ARCH=arm32v7/ -f Dockerfile .
|
||||
docker build -t registry.domandoman.xyz/utils/serverchecker:manifest-arm64v8 --build-arg ARCH=arm64v8/ -f Dockerfile .
|
||||
|
||||
push:
|
||||
docker push registry.domandoman.xyz/utils/serverchecker
|
||||
docker push registry.domandoman.xyz/utils/serverchecker:manifest-amd64
|
||||
docker push registry.domandoman.xyz/utils/serverchecker:manifest-arm32v7
|
||||
docker push registry.domandoman.xyz/utils/serverchecker:manifest-arm64v8
|
||||
|
|
|
|||
Loading…
Reference in a new issue