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: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up swap space - name: Increase swap space
run: | 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
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -67,9 +63,4 @@ jobs:
investbrainapp/investbrain:latest investbrainapp/investbrain:latest
investbrainapp/investbrain:${{ env.version }} investbrainapp/investbrain:${{ env.version }}
ghcr.io/investbrainapp/investbrain:latest ghcr.io/investbrainapp/investbrain:latest
ghcr.io/investbrainapp/investbrain:${{ env.version }} ghcr.io/investbrainapp/investbrain:${{ env.version }}
- name: Clean up swap space
run: |
sudo swapoff /swapfile
sudo rm /swapfile