From 5b5c0ac65825485f4567b3c9660c6b2cd3337d0a Mon Sep 17 00:00:00 2001 From: xiphon Date: Thu, 24 Sep 2020 14:46:35 +0000 Subject: [PATCH] workflows: cache docker build environment images --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f939a599..8ae4794b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,11 +59,17 @@ jobs: run: build/release/bin/monero-wallet-gui --test-qml docker-linux-static: - runs-on: ubuntu-20.04 + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 with: submodules: recursive + - uses: satackey/action-docker-layer-caching@v0.0.8 + continue-on-error: true + with: + key: docker-linux-static-{hash} + restore-keys: | + docker-linux-static- - name: preprare build enviroment run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux . - name: build @@ -75,6 +81,12 @@ jobs: - uses: actions/checkout@v1 with: submodules: recursive + - uses: satackey/action-docker-layer-caching@v0.0.8 + continue-on-error: true + with: + key: docker-windows-static-{hash} + restore-keys: | + docker-windows-static- - name: preprare build enviroment run: docker build --tag monero:build-env-windows --build-arg THREADS=3 --file Dockerfile.windows . - name: build