fix(ci): Fix backend-core TARGETARCH for amd64 + set -e in deploy
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 33s
CI / deploy-hetzner (push) Failing after 1m17s
CI / test-python-voice (push) Successful in 33s
CI / test-bqas (push) Successful in 33s
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 33s
CI / deploy-hetzner (push) Failing after 1m17s
CI / test-python-voice (push) Successful in 33s
CI / test-bqas (push) Successful in 33s
- backend-core Dockerfile defaults TARGETARCH=arm64, override with build arg - Add set -e in helper container to fail fast on build errors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -212,8 +212,8 @@ jobs:
|
|||||||
-w "${DEPLOY_DIR}" \
|
-w "${DEPLOY_DIR}" \
|
||||||
docker:27-cli \
|
docker:27-cli \
|
||||||
sh -c "
|
sh -c "
|
||||||
|
set -e
|
||||||
COMPOSE_FILES='-f docker-compose.yml -f docker-compose.hetzner.yml'
|
COMPOSE_FILES='-f docker-compose.yml -f docker-compose.hetzner.yml'
|
||||||
SERVICES='postgres valkey qdrant minio ollama mailpit embedding-service rag-service backend-core consent-service health-aggregator'
|
|
||||||
|
|
||||||
echo '=== Building Docker Images ==='
|
echo '=== Building Docker Images ==='
|
||||||
docker compose \${COMPOSE_FILES} build --parallel \
|
docker compose \${COMPOSE_FILES} build --parallel \
|
||||||
|
|||||||
@@ -50,6 +50,11 @@ services:
|
|||||||
|
|
||||||
backend-core:
|
backend-core:
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
|
build:
|
||||||
|
context: ./backend-core
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
TARGETARCH: amd64
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user