Skip to content

Commit

Permalink
random name
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Apr 3, 2024
1 parent 1eba062 commit 0505413
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/install-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,16 @@ jobs:
mkdir -p ./docker-test
chmod 777 ./docker-test
./main.py > docker-compose.yaml
- name: Generate random project name
shell: bash
run: |
echo "PROJECT_NAME=$(openssl rand -hex 12)" >> $GITHUB_ENV
- name: Up containers
shell: bash
run: |
docker compose -p test -f docker-compose.yaml up -d
docker compose -p $PROJECT_NAME -f docker-compose.yaml up -d
- name: Wait containers
shell: bash
run: |
go run check_health.go --project test --files docker-compose.yaml
go run check_health.go --project $PROJECT_NAME --files docker-compose.yaml

0 comments on commit 0505413

Please sign in to comment.