still doesn't use the local image

This commit is contained in:
El RIDO 2021-10-14 21:30:50 +02:00
parent eaa44f6aee
commit a9c18233c8
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -12,20 +12,18 @@ EDGE=false
build_image() { build_image() {
# shellcheck disable=SC2068 # shellcheck disable=SC2068
docker build \ docker build \
--platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
--pull \ --pull \
--no-cache \ --no-cache \
--load \
$@ \ $@ \
. .
docker images
} }
push_image() { push_image() {
# shellcheck disable=SC2068 # shellcheck disable=SC2068
docker buildx build \ docker buildx build \
--platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \ --platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
--progress plain \
--pull \
--no-cache \
--push \ --push \
$@ \ $@ \
. .