From 47662e7d0c5a6432087fd24a59b1a5b6e6a3d1f3 Mon Sep 17 00:00:00 2001 From: oussama Dahmaz Date: Fri, 23 Aug 2024 19:34:56 +0200 Subject: [PATCH] enable github cache --- .github/workflows/docker-image-linux.yml | 4 +++- .github/workflows/docker-image-raspberrypi.yml | 2 ++ .github/workflows/docker-image-synology218p.yml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image-linux.yml b/.github/workflows/docker-image-linux.yml index 02b0539..fe3339d 100644 --- a/.github/workflows/docker-image-linux.yml +++ b/.github/workflows/docker-image-linux.yml @@ -63,4 +63,6 @@ jobs: context: "{{defaultContext}}:build-linux" push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max \ No newline at end of file diff --git a/.github/workflows/docker-image-raspberrypi.yml b/.github/workflows/docker-image-raspberrypi.yml index ceed940..a5e10d9 100644 --- a/.github/workflows/docker-image-raspberrypi.yml +++ b/.github/workflows/docker-image-raspberrypi.yml @@ -63,3 +63,5 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/.github/workflows/docker-image-synology218p.yml b/.github/workflows/docker-image-synology218p.yml index f38582f..2923723 100644 --- a/.github/workflows/docker-image-synology218p.yml +++ b/.github/workflows/docker-image-synology218p.yml @@ -64,5 +64,6 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - + cache-from: type=gha + cache-to: type=gha,mode=max