Skip to content

Commit d9636fd

Browse files
committed
Add freeing up space before building image
1 parent 14c274c commit d9636fd

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/brave-bugs-tease.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"ctf-build-image": minor
3+
---
4+
5+
#chore: Add freeing up space in the ctf-build-image action to avoid 'no space left on a device' errors

actions/ctf-build-image/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ runs:
163163
cat go.mod
164164
echo "::endgroup::"
165165
166+
# To avoid 'no space left on device' errors.
167+
- name: Free up disk space (to avoid 'no space left on device' errors)
168+
uses: smartcontractkit/.github/actions/free-disk-space@free-disk-space/v1
169+
with:
170+
debug: true
171+
166172
- name: Build push docker image
167173
id: build-image
168174
uses: smartcontractkit/.github/actions/build-push-docker@build-push-docker/v1

0 commit comments

Comments
 (0)