Skip to content

Commit 177d4f5

Browse files
committed
Cache Docker image used in build
1 parent a71be2b commit 177d4f5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Cache Docker images
14+
uses: ScribeMD/docker-cache@fb28c93772363301b8d0a6072ce850224b73f74e
15+
with:
16+
key: docker-${{ runner.os }}-${{ hashFiles('.github/workflows/**') }}
17+
read-only: ${{ github.ref != 'refs/heads/master' }}
1318
- uses: juarezr/[email protected]
1419
with:
1520
version: '5.0.2'

0 commit comments

Comments
 (0)