This commit is contained in:
hackerESQ
2025-01-27 14:02:28 -06:00
parent b84602a5ed
commit 077b5257e8
+4 -13
View File
@@ -10,13 +10,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up swap space
run: |
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
- name: Increase swap space
run: sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=5120 && sudo chmod 600 /var/swap.1 && sudo /sbin/mkswap /var/swap.1 && sudo /sbin/swapon /var/swap.1
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
@@ -67,9 +63,4 @@ jobs:
investbrainapp/investbrain:latest
investbrainapp/investbrain:${{ env.version }}
ghcr.io/investbrainapp/investbrain:latest
ghcr.io/investbrainapp/investbrain:${{ env.version }}
- name: Clean up swap space
run: |
sudo swapoff /swapfile
sudo rm /swapfile
ghcr.io/investbrainapp/investbrain:${{ env.version }}