This commit is contained in:
Daniil Gentili 2023-05-30 18:15:49 +02:00
parent 364262f4bb
commit 3b08ef5938

View File

@ -5,8 +5,7 @@ docker buildx create --use --name wp --driver remote tcp://192.168.69.206:1234
build() { build() {
cd "$1" cd "$1"
docker buildx build --platform linux/riscv64 . -t danog/php:$2 --cache-from danog/php:$2 --cache-to type=inline docker buildx build --pull --push --platform linux/riscv64 . -t danog/php:$2 --cache-from danog/php:$2 --cache-to type=inline
docker push danog/php:$2
cd "$base" cd "$base"
} }