Run application via docker compose #3
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: Build and run | |
run-name: Run application via docker compose | |
on: [push] | |
jobs: | |
docker-compose: | |
runs-on: ubuntu-latest | |
timeout-minutes: ${{ fromJSON(vars.DEFAULT_JOB_TIMEOUT) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build docker images | |
run: docker compose build | |
shell: bash | |
- name: Run application via docker compose | |
run: docker compose up | |
shell: bash | |
continue-on-error: true |