Try to fix docker build

This commit is contained in:
Fang-Pen Lin
2025-11-07 17:43:12 -08:00
parent ac3c857d2f
commit a1566cb2ef

View File

@@ -44,6 +44,9 @@ jobs:
- name: Install dependencies
run: npm install
working-directory: backend
- name: Copy .env.bdd to .env
run: .github/resources/.env.bdd .env
working-directory: backend
- name: Build Infisical backend Docker image with caching
uses: docker/bake-action@v5
with:
@@ -54,7 +57,7 @@ jobs:
*.cache-to: type=gha,scope=${{ github.ref_name }}-compose,mode=max # Export full cache
load: true
- name: Start Infisical
run: cp .github/resources/.env.bdd .env && docker compose -f docker-compose.dev.yml up -d
run: docker compose -f docker-compose.dev.yml up -d
- name: Wait for service to return 200
uses: nev7n/wait_for_response@v1
with: