I try to follow the steps at this page:
https://docs.functions.onstackit.cloud/how-tos/create-custom-functions.html
It gives the following command:
sfn function deploy \
--build=false \
--push=true \
--image <your-registry.domain/group/image>
I change this into the following:
sfn function deploy \
--build=false \
--push=false \
--image rg.fr-par.scw.cloud/bouke/solar-panel-checker:latest
This gives me the following error:
Error: error: unexpected value 'false' for '--build' found; no more were expected
Usage: sfn functions deploy --build
For more information, try '--help'.
I tried one more attempt:
sfn function deploy --image rg.fr-par.scw.cloud/bouke/solar-panel-checker:latest
This leads to:
Error: Error creating function revision: HTTP error: 400 Bad Request
request body has an error: doesn't match schema #/components/schemas/Revision: Error at "/oci_reference": string doesn't match the regular expression "(:[vV]?\d+\.\d+\.\d+(@sha256:[a-fA-F0-9]{64})?)$|((:latest)?@sha256:[a-fA-F0-9]{64})$"
Not sure how to proceed. What am I doing wrong?
I try to follow the steps at this page:
https://docs.functions.onstackit.cloud/how-tos/create-custom-functions.html
It gives the following command:
I change this into the following:
This gives me the following error:
I tried one more attempt:
This leads to:
Not sure how to proceed. What am I doing wrong?