0KnowledgeNetwork / opt

Zero Knowledge Network's mixnet server plugins and client apps
GNU Affero General Public License v3.0
2 stars 1 forks source link

ci: add go build cache for docker #78

Open xendarboh opened 6 days ago

xendarboh commented 6 days ago
# https://docs.docker.com/build/ci/github-actions/cache/#cache-mounts
- name: Go Build Cache for Docker
  uses: actions/cache@v4
  with:
    path: go-build-cache
    key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }}
- name: inject go-build-cache into docker
  uses: reproducible-containers/buildkit-cache-dance@4b2444fec0c0fb9dbf175a96c094720a692ef810 # v2.1.4
  with:
    cache-source: go-build-cache