Skip to content

Commit

Permalink
build: update docker compose command in ci.yml (#2628)
Browse files Browse the repository at this point in the history
  • Loading branch information
clD11 authored Aug 2, 2024
1 parent ddd25ab commit 363f947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ jobs:
with:
version: '1.25.4'

- run: docker-compose pull
- run: docker compose pull

- name: Start Vault
run: |
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d vault;
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d vault;
sleep 3
- name: Run Tests
run: |
export VAULT_TOKEN=$(docker logs grant-vault 2>&1 | grep "Root Token" | tail -1 | cut -d ' ' -f 3 );
docker-compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -v /opt/go/pkg:/go/pkg dev make
docker compose -f docker-compose.yml -f docker-compose.dev.yml run --rm -v /opt/go/pkg:/go/pkg dev make
- name: Ensure Module Directory
if: steps.setup-go.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 363f947

Please sign in to comment.