neoneo-go/.github/workflows
Anna Shaleva 0760e5486b dockerfile: reduce build time for WSC-based image
Turns out that caching the golang:windowsservercore-ltsc2022 image between
GithubAction workflow runs is a bad idea because `docker load` command still takes
too long to load image from cached archive (~9-10min on standard windows runner).
And after that runner still needs to build the neo-go image itself.

However, standard GA windows runner is supplied with prefetched latest
mcr.microsoft.com/windows/servercore:ltsc2022 image, so using it costs almost
nothing. Thus, the other approach is implemented: we use standard
mcr.microsoft.com/windows/servercore:ltsc2022 image as both build-base and
final-base. Then we install all required tools for building neo-go manually
on build-base image (these tools are git and go 1.17). Compared to the first
approach, the publishing job (included build and publish to DockerHub)
takes ~7-8min to finish.
2022-02-10 18:58:50 +03:00
..
build.yml .github: allow to trigger Build workflow manually 2021-12-03 12:22:48 +03:00
codeql-analysis.yml experimental codeql workflow 2021-04-15 17:29:00 +03:00
publish_to_dockerhub.yml dockerfile: reduce build time for WSC-based image 2022-02-10 18:58:50 +03:00
run_tests.yml Merge pull request #2341 from nspcc-dev/cli/tests 2022-02-02 14:41:03 +03:00