Skip to content

send program name to the mlwh #1939

send program name to the mlwh

send program name to the mlwh #1939

name: Check docker image building process
on:
pull_request:
env:
IMAGE_NAME: ${{ github.repository }}/${{ github.event.repository.name }}
jobs:
build:
name: Check docker image building process
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build image
run: >-
docker compose build
- name: Start stack and wait for all healthy
run: |
RESET_DATABASE=true docker compose -f docker-compose.yml up &
while docker compose ps -q | xargs docker inspect --format '{{ .State.Health.Status }}' | grep -v '^healthy$' ; do
sleep 30
echo "Waiting for healthy containers"
done
timeout-minutes: 5
- name: Stop stack
run: >-
docker compose down