Skip to content

Commit

Permalink
Update push-to-docker-hub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gymnae authored Sep 26, 2023
1 parent 3744230 commit 01ab390
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push-to-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Cache Docker layers
uses: actions/cache@v3
with:
path: tmp/.buildx-cache
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
Expand All @@ -48,15 +48,15 @@ jobs:
push: true
tags: ${{ github.repository }}:latest
platforms: linux/amd64,linux/arm64
cache-from: type=local,src=tmp/.buildx-cache
cache-to: type=local,dest=tmp/.buildx-cache-new,mode=max
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
- # 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-cach
#name: Move cache
#run: |
# rm -rf tmp/.buildx-cache
# mv tmp/.buildx-cache-new /tmp/.buildx-cach
# - uses: kitabisa/docker-slim-action@v1
# env:
# DSLIM_HTTP_PROBE: false
Expand Down

0 comments on commit 01ab390

Please sign in to comment.