Skip to content

Try Ubuntu 24

Try Ubuntu 24 #770

name: Docker production build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup
run: |
cp env.sample .env
cp docker/tess.docker-test.yml config/tess.yml
cp config/secrets.example.yml config/secrets.yml
- name: Build & run
run: docker compose --file docker-compose-prod.yml up --build --detach --wait --wait-timeout 60
continue-on-error: true
- name: Setup
run: docker compose --file docker-compose-prod.yml exec app bundle exec rake db:setup DISABLE_DATABASE_ENVIRONMENT_CHECK=1
continue-on-error: true
- name: Test
run: ruby scripts/check_deployment.rb