zijiwork commented on issue #5501:
URL: https://github.com/apache/openwhisk/issues/5501#issuecomment-2264642394
```
When using action image build, it prompts "cannot download modules". How to
generate exec file in offline mode. Eg: Is it possible to use go build -o exec
main.go , zip -r * main.zip
```
zip -r - * | docker run -i whisk/action-golang-v1.21 -compile main >
main.zip
adding: go.mod (deflated 20%)
adding: go.sum (deflated 66%)
adding: main.go (deflated 55%)
2024/08/02 06:09:16 cannot download modules
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]