From 4a30ada494078202b868174682f2fdfb2d1937ed Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Fri, 15 Jan 2021 12:39:31 -0800 Subject: [PATCH] gha: cache docker layers to speed up make runcimage It currently takes close to 2 minutes to build docker image (which is currently only used for cross compilation). Let's see if caching docker layers will help. Signed-off-by: Kir Kolyshkin --- .github/workflows/validate.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 552a89647..fab2f8ed6 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -113,6 +113,8 @@ jobs: # under Docker will emerge, it will be good to have a separate make # runcimage job and share its result (the docker image) with whoever # needs it. + - uses: satackey/action-docker-layer-caching@v0.0.11 + continue-on-error: true - name: build docker image run: make runcimage - name: cross