diff --git a/.github/workflows/deploy-docker-dev.yml b/.github/workflows/deploy-docker-dev.yml index 170c03b..22971d0 100644 --- a/.github/workflows/deploy-docker-dev.yml +++ b/.github/workflows/deploy-docker-dev.yml @@ -19,6 +19,14 @@ jobs: - name: Set up Docker Build uses: docker/setup-buildx-action@v2 + - name: Cache Docker layers + uses: actions/cache@v3 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to DockerHub uses: docker/login-action@v2 with: @@ -30,4 +38,6 @@ jobs: with: push: true platforms: linux/amd64,linux/arm64,linux/arm/v7 - tags: germannewsmaker/licenseapi:development \ No newline at end of file + tags: germannewsmaker/licenseapi:development + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache,new \ No newline at end of file