Support passing --filter or whatever
This commit is contained in:
parent
1cc3ef2e82
commit
94ea99983c
9
build.sh
9
build.sh
@ -6,10 +6,5 @@ docker run --rm --privileged \
|
|||||||
multiarch/qemu-user-static \
|
multiarch/qemu-user-static \
|
||||||
--reset -p yes
|
--reset -p yes
|
||||||
|
|
||||||
# Build and deploy
|
faas-cli publish -f functions.yml --platforms linux/arm64 --build-arg 'TEST_ENABLED=false' $*
|
||||||
if [ ! -d template ]
|
faas-cli deploy -f functions.yml $*
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user