From 634c6fe5fc4fcee52895f24b8af3955759722ba2 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Tue, 29 Dec 2020 16:22:00 +0200 Subject: [PATCH] Update docker.yml --- .github/workflows/docker.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1b2b7a159..41510aa72 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,17 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - - name: Cache Docker layers - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - + - uses: actions/checkout@v2 - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -34,6 +24,10 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + + - + name: Docker cache + uses: satackey/action-docker-layer-caching@v0.0.11 - name: Build and push id: docker_build