Skip to content

Commit 5d99b91

Browse files
committed
update swap
1 parent 6306e22 commit 5d99b91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
5252
SWAP_FILE="/swapfile"
5353
echo "Creating new 32G swap file..."
54-
sudo fallocate -l 32 "$SWAP_FILE"
54+
# sudo fallocate -l 32 "$SWAP_FILE"
55+
sudo dd if=/dev/zero of=/mnt/swapfile bs=1G count=32
5556
sudo chmod 600 "$SWAP_FILE"
5657
sudo mkswap "$SWAP_FILE"
5758
sudo swapon "$SWAP_FILE"

0 commit comments

Comments
 (0)