2022-07-27 14:11:38 +00:00
|
|
|
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# My FAAS is arm64, so need to install this to cross-compile
|
|
|
|
docker run --rm --privileged \
|
|
|
|
multiarch/qemu-user-static \
|
|
|
|
--reset -p yes
|
|
|
|
|
2023-06-05 19:02:54 +00:00
|
|
|
# docker run --rm --privileged aptman/qus -s -- -p aarch64
|
|
|
|
|
2023-06-01 22:31:38 +00:00
|
|
|
faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $*
|
|
|
|
faas-cli deploy -f functions.yml $*
|