ci: bump runner capacity to 4 and add BuildKit cache for image builds
CI / Typecheck (push) Has started running
CI / Unit Tests (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Architecture Guardrails (push) Has started running
CI / Assistant Split Regression (push) Has started running
CI / Lint (push) Has started running
Docker Deploy Test / Fresh-Linux Docker Deploy (push) Has started running
Release Image / Build And Push Images (push) Has started running

- act_runner capacity 2 → 4 (QNAP host has 6 cores, leave 2 for OS)
- release-image: switch to docker/build-push-action@v5 with GHA cache
  (separate scopes for app/migrator to avoid cross-invalidation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-12 12:25:03 +02:00
parent ed9827aa16
commit e9c8e2de7b
2 changed files with 19 additions and 13 deletions
+18 -12
View File
@@ -45,21 +45,27 @@ jobs:
# Guardrail anchor: target: runner
- name: Build and push app image
run: |
docker buildx build --push \
--tag "${{ steps.vars.outputs.app_image }}" \
--file ./Dockerfile.prod \
--target runner \
.
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.prod
target: runner
push: true
tags: ${{ steps.vars.outputs.app_image }}
cache-from: type=gha,scope=app
cache-to: type=gha,mode=max,scope=app
# Guardrail anchor: target: migrator
- name: Build and push migrator image
run: |
docker buildx build --push \
--tag "${{ steps.vars.outputs.migrator_image }}" \
--file ./Dockerfile.prod \
--target migrator \
.
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.prod
target: migrator
push: true
tags: ${{ steps.vars.outputs.migrator_image }}
cache-from: type=gha,scope=migrator
cache-to: type=gha,mode=max,scope=migrator
- name: Release summary
run: |