mirror of
https://github.com/nicolabs/nicobot.git
synced 2025-09-07 05:14:01 +02:00
+ mode=max to cache intermediate layers
This commit is contained in:
parent
dd6504bb59
commit
217f195abf
9
.github/workflows/dockerhub.yml
vendored
9
.github/workflows/dockerhub.yml
vendored
|
@ -81,7 +81,8 @@ jobs:
|
||||||
${{ env.NICOBOT_VERSION }}
|
${{ env.NICOBOT_VERSION }}
|
||||||
${{ github.sha }}
|
${{ github.sha }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
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
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build_alpine.outputs.digest }}
|
run: echo ${{ steps.docker_build_alpine.outputs.digest }}
|
||||||
|
@ -155,7 +156,8 @@ jobs:
|
||||||
${{ env.NICOBOT_VERSION }}
|
${{ env.NICOBOT_VERSION }}
|
||||||
${{ github.sha }}
|
${{ github.sha }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
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
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build_debian.outputs.digest }}
|
run: echo ${{ steps.docker_build_debian.outputs.digest }}
|
||||||
|
@ -174,7 +176,8 @@ jobs:
|
||||||
${{ env.NICOBOT_VERSION }}
|
${{ env.NICOBOT_VERSION }}
|
||||||
${{ github.sha }}
|
${{ github.sha }}
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
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
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build_debian_signal.outputs.digest }}
|
run: echo ${{ steps.docker_build_debian_signal.outputs.digest }}
|
||||||
|
|
Loading…
Reference in a new issue