[multiarch push]
This commit is contained in:
parent
c5bc6a45e8
commit
0d557b3083
1 changed files with 5 additions and 9 deletions
14
Makefile
14
Makefile
|
|
@ -1,11 +1,7 @@
|
||||||
VERSION=0.`git rev-list --count HEAD`
|
VERSION=0.`git rev-list --count HEAD`
|
||||||
|
|
||||||
build:
|
all:
|
||||||
docker build -t registry.domandoman.xyz/utils/serverchecker:manifest-amd64 --build-arg ARCH=amd64/ -f Dockerfile .
|
docker buildx build \
|
||||||
docker build -t registry.domandoman.xyz/utils/serverchecker:manifest-arm32v7 --build-arg ARCH=arm32v7/ -f Dockerfile .
|
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
|
||||||
docker build -t registry.domandoman.xyz/utils/serverchecker:manifest-arm64v8 --build-arg ARCH=arm64v8/ -f Dockerfile .
|
--push \
|
||||||
|
-t registry.domandoman.xyz/utils/serverchecker --build-arg VERSION=${VERSION} -f Dockerfile .
|
||||||
push:
|
|
||||||
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