Skip to content

Commit

Permalink
ci: fixed docker builder (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
irmannmal authored Aug 12, 2022
1 parent f7d05fa commit 81f4ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
if: "!startsWith(github.ref, 'refs/tags/')"
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
Expand Down Expand Up @@ -117,6 +118,7 @@ jobs:
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
- name: Move cache
if: "!startsWith(github.ref, 'refs/tags/')"
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
Expand Down

0 comments on commit 81f4ee9

Please sign in to comment.