CI: Docker: Add cache

Signed-off-by: Thomas Rohloff <v10lator@myway.de>
This commit is contained in:
Thomas Rohloff
2025-07-04 10:40:28 +02:00
parent 74960b4864
commit e398ecfe13
+6
View File
@@ -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