Skip to content

Commit

Permalink
Update deploy_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargi Ketan Chauhan authored and GitHub Enterprise committed Mar 4, 2025
1 parent 0d1af83 commit d271c20
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,22 @@ jobs:
keys-case: bypass

- name: Set Docker socket permissions
run: chmod 666 /var/run/docker.sock
run: sudo -E sh -c "chmod 666 /var/run/docker.sock"

- name: Check status of config file
run: |
run: sudo -E sh -c "
env
docker compose version
cd $GITHUB_WORKSPACE
docker compose -f $COMPOSE_FILE --verbose config && printf "OK\n" || exit 1
docker compose -f $COMPOSE_FILE --verbose config && printf 'OK\n' || exit 1
"
- name: Build and run docker image
run: docker compose -f $COMPOSE_FILE up --force-recreate --build -d
run: sudo -E sh -c "docker compose -f $COMPOSE_FILE up --force-recreate --build -d"

- name: Verify that gateway is available
run: docker ps
run: sudo -E sh -c "docker ps"




Expand Down

0 comments on commit d271c20

Please sign in to comment.