Skip to content

🚨 [security] [ruby] Update rails 6.1.7.10 → 7.0.8.1 (major) #1312

🚨 [security] [ruby] Update rails 6.1.7.10 → 7.0.8.1 (major)

🚨 [security] [ruby] Update rails 6.1.7.10 → 7.0.8.1 (major) #1312

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