mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
chore: enables github docker cache (#8187)
So, since we updated to build-push-action@v6 we're now getting a nice summary of the build on the summary page of the action. It pointed out that we're caching 0% of our docker build. Since we probably change our own code more often than we change our dependencies, sharing the initial yarn install step between builds from cache seems to be a good idea.
This commit is contained in:
parent
aa7757a2d1
commit
6d51213f55
2
.github/workflows/docker_publish.yaml
vendored
2
.github/workflows/docker_publish.yaml
vendored
@ -68,3 +68,5 @@ jobs:
|
|||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: NODE_VERSION=${{ matrix.version }}
|
build-args: NODE_VERSION=${{ matrix.version }}
|
||||||
|
cache-from: type=gha
|
||||||
|
cache-to: type=gha,mode=max
|
||||||
|
Loading…
Reference in New Issue
Block a user