summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorThomas Rohloff <v10lator@myway.de>2025-07-04 10:40:28 +0200
committerThomas Rohloff <v10lator@myway.de>2025-07-04 10:45:01 +0200
commite398ecfe131ef517d64293c497020dce8b0af86e (patch)
tree1fa5d6074dfa516c6c4d9748aa0f7bd3e75002d2 /.github
parent74960b48647ffae5e831cc23b11a9f24993d788a (diff)
CI: Docker: Add cache
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 079aa5798..3eabe041f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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