mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-07 03:58:32 -04:00
CI: Docker: Add cache
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
This commit is contained in:
@@ -304,6 +304,12 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
- name: Docker caching
|
||||
uses: ScribeMD/docker-cache@0.5.0
|
||||
id: cache
|
||||
continue-on-error: true
|
||||
with:
|
||||
key: sk-docker-cache-${{ hashFiles('Dockerfile') }}
|
||||
- name: Build docker image
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: docker build . -t spaghetti
|
||||
|
||||
Reference in New Issue
Block a user