+ mode=max to cache intermediate layers

This commit is contained in:
nicobo 2021-01-26 13:14:38 +01:00
parent dd6504bb59
commit 217f195abf
No known key found for this signature in database
GPG key ID: 2581E71C5FA5285F

View file

@ -81,7 +81,8 @@ jobs:
${{ env.NICOBOT_VERSION }}
${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
- name: Image digest
run: echo ${{ steps.docker_build_alpine.outputs.digest }}
@ -155,7 +156,8 @@ jobs:
${{ env.NICOBOT_VERSION }}
${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
- name: Image digest
run: echo ${{ steps.docker_build_debian.outputs.digest }}
@ -174,7 +176,8 @@ jobs:
${{ env.NICOBOT_VERSION }}
${{ github.sha }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
# mode=max to cache intermediate layers : https://github.com/docker/buildx#--cache-tonametypetypekeyvalue
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
- name: Image digest
run: echo ${{ steps.docker_build_debian_signal.outputs.digest }}