Skip to content

Commit e128fd4

Browse files
authored
build: cleanup disk and increase timeout for deploy multi-arch images (#2289)
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent 0424655 commit e128fd4

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
runs-on: ubuntu-latest
3838
permissions: write-all
3939
steps:
40+
- name: Free Disk Space (Ubuntu)
41+
uses: jlumbroso/free-disk-space@main
42+
with:
43+
tool-cache: false
44+
large-packages: false
4045
- name: Checkout code
4146
uses: actions/checkout@main
4247
with:
@@ -86,7 +91,7 @@ jobs:
8691
- name: Build images
8792
uses: nick-invision/retry@master
8893
with:
89-
timeout_minutes: 45
94+
timeout_minutes: 90
9095
max_attempts: 3
9196
retry_wait_seconds: 60
9297
command: PLATFORMS="${PLATFORMS}" VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build

.github/workflows/nightly.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
runs-on: ubuntu-latest
2626
permissions: write-all
2727
steps:
28+
- name: Free Disk Space (Ubuntu)
29+
uses: jlumbroso/free-disk-space@main
30+
with:
31+
tool-cache: false
32+
large-packages: false
2833
- name: Checkout code
2934
uses: actions/checkout@main
3035
with:
@@ -73,7 +78,7 @@ jobs:
7378
- name: Build images
7479
uses: nick-invision/retry@master
7580
with:
76-
timeout_minutes: 45
81+
timeout_minutes: 90
7782
max_attempts: 3
7883
retry_wait_seconds: 60
7984
command: PLATFORMS="${PLATFORMS}" VERSION="${GRID_VERSION}" BUILD_DATE=${BUILD_DATE} make build

0 commit comments

Comments
 (0)