Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Try to fix docker build

Fang-Pen Lina1566cb2efbb
diff --git a/.github/workflows/run-backend-bdd-tests.yml b/.github/workflows/run-backend-bdd-tests.yml
index 9de8e233e5..fbd1120f8a 100644
--- a/.github/workflows/run-backend-bdd-tests.yml
+++ b/.github/workflows/run-backend-bdd-tests.yml
@@ -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: