Configure run timeout from control plane

This commit is contained in:
Igor Baliuk
2024-03-23 00:22:38 +01:00
parent 03769b9aca
commit 252b0bf340
@@ -1,12 +1,16 @@
name: run-docker-compose
name: Build and run
run-name: Run application via docker compose
on: [push]
jobs:
docker-compose:
runs-on: ubuntu-latest
timeout-minutes: 5 # You can change it
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