Skip to content

Commit cc4da01

Browse files
authored
Free disk space only for cuda images on docker-tag-push (#2329)
1 parent b2a5c2b commit cc4da01

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/docker-tag-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
timeout-minutes: ${{ inputs.timeout-minutes }}
3636

3737
steps:
38+
# Image with CUDA needs extra disk space
3839
- name: Free disk space 🧹
40+
if: contains(inputs.variant, 'cuda')
3941
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
4042
with:
4143
tool-cache: false

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
variant: cuda
223223
platform: x86_64
224224
runs-on: ubuntu-24.04
225-
timeout-minutes: 20
225+
timeout-minutes: 25
226226
needs: x86_64-scipy
227227
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
228228

@@ -256,7 +256,7 @@ jobs:
256256
variant: cuda11
257257
platform: x86_64
258258
runs-on: ubuntu-24.04
259-
timeout-minutes: 20
259+
timeout-minutes: 25
260260
needs: x86_64-scipy
261261
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
262262

@@ -268,7 +268,7 @@ jobs:
268268
variant: cuda12
269269
platform: x86_64
270270
runs-on: ubuntu-24.04
271-
timeout-minutes: 20
271+
timeout-minutes: 25
272272
needs: x86_64-scipy
273273
if: ${{ !contains(github.event.pull_request.title, '[FAST_BUILD]') }}
274274

0 commit comments

Comments
 (0)