diff --git a/build.sh b/build.sh index 1f18834..6e20310 100755 --- a/build.sh +++ b/build.sh @@ -6,10 +6,5 @@ docker run --rm --privileged \ multiarch/qemu-user-static \ --reset -p yes -# Build and deploy -if [ ! -d template ] -then - faas-cli template store pull python3-flask -fi -faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' -faas-cli deploy -f functions.yml +faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $* +faas-cli deploy -f functions.yml $*