mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 12:27:31 +00:00
Build docker-compose img files
This commit is contained in:
@@ -44,6 +44,15 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
working-directory: backend
|
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
|
- name: Start Infisical
|
||||||
run: cp .github/resources/.env.bdd .env && docker compose -f docker-compose.dev.yml up -d
|
run: cp .github/resources/.env.bdd .env && docker compose -f docker-compose.dev.yml up -d
|
||||||
- name: Wait for service to return 200
|
- name: Wait for service to return 200
|
||||||
|
|||||||
Reference in New Issue
Block a user