Conversation
|
/publish |
|
oci-image-publish-on-comment: failed ❌ |
|
OMG its 9 minutes 😱
These test/build times are very high, if we assume its mostly fetching the dep's then using the cache correctly(based on go.sum hash) , like this: https://danp.net/posts/github-actions-go-cache/ will make a substantial change, but I'm not sure its the case. |
a95f7d9 to
f5a1026
Compare
|
/publish |
|
oci-image-publish-on-comment: failed ❌ |
By adding workflow_dispatch as a trigger it is possible to execute the workflow using the Github CLI. Without it, does not seem it is possible to run on a non-main branch.
It is not clear what they are used for if anything as they do not actually push any image. For clarity they are dropped.
The build takes a ton of time and this attempts to improve the status quo by building the binary outside of Docker. By adding Go build steps and caching of dependencies and build artifacts build time is reduced from about 10m to 1m.
6ab35c7 to
4376564
Compare
|
Using the comment flow fails now because it does not include branch changes to the workflow when running, but is running against the branch The other job succeeds and should prove it's working. |
Description
The build takes a ton of time and this attempts to improve the status quo.
Type of Change
Checklist