Update main.yml (#555)

Use mode=max to cache all layers in github docker build
This commit is contained in:
Jonathan Zernik 2021-01-03 23:09:10 -08:00 committed by GitHub
parent 4b1656642e
commit 27b3e1d166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}