mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Build docker-compose img files
This commit is contained in:
9
.github/workflows/run-backend-bdd-tests.yml
vendored
9
.github/workflows/run-backend-bdd-tests.yml
vendored
@@ -44,6 +44,15 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
working-directory: backend
|
||||
- name: Build Infisical backend Docker image with caching
|
||||
uses: docker/bake-action@v5
|
||||
with:
|
||||
files: docker-compose.dev.yml
|
||||
targets: backend
|
||||
set: |
|
||||
*.cache-from: type=gha,scope=${{ github.ref_name }}-compose # Import cache key (unique per branch)
|
||||
*.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
|
||||
- name: Wait for service to return 200
|
||||
|
||||
Reference in New Issue
Block a user