1
0
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:
Christopher Kolstad 2024-09-19 14:55:32 +02:00 committed by GitHub
parent aa7757a2d1
commit 6d51213f55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,3 +68,5 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: NODE_VERSION=${{ matrix.version }}
cache-from: type=gha
cache-to: type=gha,mode=max