You've already forked Travel-Agent
Configure run timeout from control plane
This commit is contained in:
@@ -1,12 +1,16 @@
|
|||||||
name: run-docker-compose
|
name: Build and run
|
||||||
run-name: Run application via docker compose
|
run-name: Run application via docker compose
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
docker-compose:
|
docker-compose:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5 # You can change it
|
timeout-minutes: ${{ fromJSON(vars.DEFAULT_JOB_TIMEOUT) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build docker images
|
||||||
|
run: docker compose build
|
||||||
|
shell: bash
|
||||||
- name: Run application via docker compose
|
- name: Run application via docker compose
|
||||||
run: docker compose up
|
run: docker compose up
|
||||||
shell: bash
|
shell: bash
|
||||||
|
continue-on-error: true
|
||||||
Reference in New Issue
Block a user