Skip to content

Commit e861a7a

Browse files
liweinanclaude
andcommitted
fix: add image tags and --no-build to prevent compose rebuilds
Add explicit :ci image tags to docker-compose.yml so Docker Compose finds pre-built images from the build job instead of rebuilding Rust from scratch. Add --no-build flag for safety. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent d45ac2a commit e861a7a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
8686
- name: Start built services
8787
run: |
88-
docker compose up -d authcore upctl-svc upctl-web
88+
docker compose up -d --no-build authcore upctl-svc upctl-web
8989
docker compose logs --tail=20 authcore upctl-svc upctl-web
9090
9191
- name: Wait for authcore (30s timeout)

‎docker-compose.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ services:
1717
retries: 10
1818

1919
authcore:
20+
image: authcore:ci
2021
build:
2122
context: ./authcore
2223
depends_on:
@@ -32,6 +33,7 @@ services:
3233
- "3000:3000"
3334

3435
upctl-svc:
36+
image: upctl-svc:ci
3537
build:
3638
context: ./upctl-svc
3739
depends_on:
@@ -47,6 +49,7 @@ services:
4749
- uploads:/app/uploads
4850

4951
upctl-web:
52+
image: upctl-web:ci
5053
build:
5154
context: ./upctl-web
5255
depends_on:

0 commit comments

Comments
 (0)