Skip to content

Commit

Permalink
Revert "Disable caching"
Browse files Browse the repository at this point in the history
This reverts commit 53cc1a6
  • Loading branch information
georgysavva committed Jun 8, 2021
1 parent 53cc1a6 commit e7bd28b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
- name: Set up Docker Buildx
uses: docker/[email protected]

- name: Cache Docker layers
uses: actions/[email protected]
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/[email protected]
with:
Expand All @@ -33,4 +41,14 @@ jobs:
uses: docker/[email protected]
with:
tags: iotaledger/goshimmer:develop
push: true
push: true
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache-new

- # Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 comments on commit e7bd28b

Please sign in to comment.