From bd7a0b5a642be1515a943a04bfc062e8a8e7286c Mon Sep 17 00:00:00 2001 From: David Binney Date: Tue, 18 Jun 2024 18:25:27 +0930 Subject: [PATCH] still wip --- .github/workflows/docker-build-push.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml index 3d4179c..7119b4d 100644 --- a/.github/workflows/docker-build-push.yml +++ b/.github/workflows/docker-build-push.yml @@ -8,6 +8,18 @@ on: - 'v*' jobs: + cache: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: | + /tmp/.buildx-cache + key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }} docker: needs: cache