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:
parent
10af547866
commit
561165c055
1 changed files with 5 additions and 4 deletions
|
@ -10,10 +10,8 @@ EDGE=false
|
||||||
[ "$3" = edge ] && EDGE=true
|
[ "$3" = edge ] && EDGE=true
|
||||||
|
|
||||||
build_image() {
|
build_image() {
|
||||||
docker buildx build \
|
# shellcheck disable=SC2068
|
||||||
--platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
|
docker build \
|
||||||
--progress plain \
|
|
||||||
--output type=image \
|
|
||||||
--pull \
|
--pull \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
$@ \
|
$@ \
|
||||||
|
@ -21,9 +19,12 @@ build_image() {
|
||||||
}
|
}
|
||||||
|
|
||||||
push_image() {
|
push_image() {
|
||||||
|
# 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 \
|
--progress plain \
|
||||||
|
--pull \
|
||||||
|
--no-cache \
|
||||||
--push \
|
--push \
|
||||||
$@ \
|
$@ \
|
||||||
.
|
.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue