[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`
|
||||
|
||||
build:
|
||||
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:manifest-amd64
|
||||
docker push registry.domandoman.xyz/utils/serverchecker:manifest-arm32v7
|
||||
docker push registry.domandoman.xyz/utils/serverchecker:manifest-arm64v8
|
||||
all:
|
||||
docker buildx build \
|
||||
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
|
||||
--push \
|
||||
-t registry.domandoman.xyz/utils/serverchecker --build-arg VERSION=${VERSION} -f Dockerfile .
|
||||
|
|
|
|||
Loading…
Reference in a new issue