cache docker build layers
* testing if gha cache is used https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-from https://docs.docker.com/engine/reference/commandline/buildx_build/#cache-to * try out inline cache src: https://github.com/moby/buildkit#export-cache * go back to using gha cache
This commit is contained in:
parent
2a0a8d57fd
commit
cc5ec8b0dd
4
.github/workflows/build-images.yml
vendored
4
.github/workflows/build-images.yml
vendored
@ -71,4 +71,6 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ vars.DOCKERHUB_TAG }}:${{ steps.image_tag.outputs.TAG }}
|
tags: ${{ vars.DOCKERHUB_TAG }}:${{ steps.image_tag.outputs.TAG }}
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user