still doesn't use the local image
This commit is contained in:
parent
eaa44f6aee
commit
a9c18233c8
1 changed files with 2 additions and 4 deletions
|
@ -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 \
|
||||||
$@ \
|
$@ \
|
||||||
.
|
.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue