-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Panic when building function with --storage-directory flag #44
Comments
FYI, I'm getting this same error when calling Here's the culprit line: scale-cli/cmd/function/build.go Line 124 in c8dbd66
If I re-generate the signature artifacts in the container, then it seems to work. |
Checking this out now, it looks like the signature defined in your scalefile might not exist. Can you give me the output of |
Yeah, I'm guessing there are artifacts that are stored outside of the working directory which is a little bit inconvenient when building in a container, because I have to regenerate the signature, rather then checking in the signature in my source. But that's more of a personal preference thing then anything. My workaround for Docker is just to re-generate the signature in the Dockerfile. |
Fixed in #45 |
Getting the following output only when running with the --storage-directory flag. Running without the flag builds correctly.
Here's my CLI version
The text was updated successfully, but these errors were encountered: