buildx build doesn't store image in local docker image cache, so we need to build it traditionally for the smoketest

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

View file

@ -10,10 +10,8 @@ EDGE=false
[ "$3" = edge ] && EDGE=true
build_image() {
docker buildx build \
--platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
--progress plain \
--output type=image \
# shellcheck disable=SC2068
docker build \
--pull \
--no-cache \
$@ \
@ -21,9 +19,12 @@ build_image() {
}
push_image() {
# shellcheck disable=SC2068
docker buildx build \
--platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
--progress plain \
--pull \
--no-cache \
--push \
$@ \
.