Check logs #740
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker production build | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
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 -f docker-compose-prod.yml up --build --detach --wait --wait-timeout 60 | |
- name: Docker ps | |
run: sleep 120 | docker ps -a | |
- name: Test | |
run: curl -v http://localhost:3000/ | docker compose logs app |