use temp fix for cache
All checks were successful
Build / build (push) Successful in 12m15s

This commit is contained in:
Gustavo Maronato 2023-08-26 11:50:42 -03:00
parent fb725170f4
commit 1baa480318
Signed by: maronato
SSH Key Fingerprint: SHA256:2Gw7kwMz/As+2UkR1qQ/qYYhn+WNh3FGv6ozhoRrLcs

View File

@ -77,13 +77,12 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
# cache-to: type=local,dest=/tmp/.build-cache/buildx-new,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/.build-cache/buildx
# mv /tmp/.build-cache/buildx-new /tmp/.build-cache/buildx
# cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
cache-to: type=local,dest=/tmp/.build-cache/buildx-new,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/.build-cache/buildx
mv /tmp/.build-cache/buildx-new /tmp/.build-cache/buildx