Skip to content

Commit 1cf3950

Browse files
committed
ci: increase swapfile for image build
1 parent f7f5877 commit 1cf3950

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/image-build-source.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ jobs:
2929
dist:
3030
- debian
3131
steps:
32+
## Increase swapfile
33+
- name: Increase swapfile
34+
run: |
35+
sudo swapoff -a
36+
sudo fallocate -l 15G /swapfile
37+
sudo chmod 600 /swapfile
38+
sudo mkswap /swapfile
39+
sudo swapon /swapfile
40+
sudo swapon --show
41+
3242
## Setup Docker for the builds
3343
- name: Docker setup
3444
id: docker_setup

0 commit comments

Comments
 (0)