mirror of
https://github.com/jetkvm/cloud-api.git
synced 2025-09-16 08:38:15 +00:00
feat(ci): Add caching for Docker images
This commit is contained in:
parent
9726e92e3f
commit
0a49f38125
2
.github/workflows/build-image.yaml
vendored
2
.github/workflows/build-image.yaml
vendored
@ -56,6 +56,8 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
target: prod
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
build-args: |
|
||||
NODE_ENV=production
|
||||
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user