feat(ci): Add caching for Docker images

This commit is contained in:
Timothy Stewart 2025-02-21 23:13:52 -06:00
parent 9726e92e3f
commit 0a49f38125

View File

@ -56,6 +56,8 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
target: prod target: prod
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: | build-args: |
NODE_ENV=production NODE_ENV=production
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}