Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xusifob committed Feb 3, 2025
1 parent 655d95d commit 47f6998
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-base-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up swap
run: |
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h # Vérifier que le swap est actif
- name: Increase memory for Docker
run: |
sudo sysctl -w vm.max_map_count=262144
sudo sysctl -w fs.file-max=1048576
ulimit -n 1048576
ulimit -u 1048576
- name: Build base image
uses: ./.github/actions/build-docker-image
with:
Expand Down

0 comments on commit 47f6998

Please sign in to comment.