Skip to content

Commit 4733aad

Browse files
Set shorter timeout for build job
The default timeout for a job is 6 hours, but in our case something is probably wrong already at 60 minutes so let's fail sooner.
1 parent e4582d5 commit 4733aad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build_latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
jobs:
1919
docker_buildx_debian:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 60
2122
steps:
2223
- name: Checkout the repository
2324
uses: actions/checkout@v2.3.4
@@ -51,6 +52,7 @@ jobs:
5152

5253
docker_buildx_alpine:
5354
runs-on: ubuntu-latest
55+
timeout-minutes: 60
5456
steps:
5557
- name: Checkout the repository
5658
uses: actions/checkout@v2.3.4

.github/workflows/build_tags.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
docker_buildx_debian:
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 60
1314
steps:
1415
- name: Checkout the repository
1516
uses: actions/checkout@v2.3.4
@@ -52,6 +53,7 @@ jobs:
5253
5354
docker_buildx_alpine:
5455
runs-on: ubuntu-latest
56+
timeout-minutes: 60
5557
steps:
5658
- name: Checkout the repository
5759
uses: actions/checkout@v2.3.4

0 commit comments

Comments
 (0)