From 045a439171ed8d73a40542b3cd49a53116219211 Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Tue, 20 Aug 2024 17:01:36 +0200 Subject: [PATCH] Update tutorial_docker.yaml fix cache-map deprecation --- .github/workflows/tutorial_docker.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tutorial_docker.yaml b/.github/workflows/tutorial_docker.yaml index cd305eec20..cb73517b0b 100644 --- a/.github/workflows/tutorial_docker.yaml +++ b/.github/workflows/tutorial_docker.yaml @@ -53,8 +53,15 @@ jobs: - name: inject ccache into docker uses: reproducible-containers/buildkit-cache-dance@v3.1.2 with: - cache-source: .ccache - cache-target: /root/.ccache/ + cache-map: | + { + "var-cache-apt": { + "target": "/var/cache/apt", + "id": "1" + }, + "var-lib-apt": "/var/lib/apt" + } + skip-extraction: ${{ steps.cache.outputs.cache-hit }} - name: Build and Push uses: docker/build-push-action@v6 with: