Skip to content

Commit

Permalink
build: update docker compose command in ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
clD11 committed Aug 2, 2024
1 parent d2c24cf commit 1c3478e
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 1c3478e

Please sign in to comment.