Skip to content

Commit

Permalink
CI-publishing: increase swap size for publishing ubuntu-image and Max…
Browse files Browse the repository at this point in the history
…imize build space
  • Loading branch information
AlyaGomaa committed May 15, 2024
1 parent dc831ff commit cd29df0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CI-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
path: ./docker/macosm1-image/Dockerfile

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024

- name: Get slips version
run: |
VER=$(curl -s https://raw.githubusercontent.com/stratosphereips/StratosphereLinuxIPS/develop/VERSION)
Expand All @@ -66,7 +72,7 @@ jobs:
timeout-minutes: 15
uses: docker/build-push-action@v2
with:
swap-size-gb: 10
swap-size-gb: 20
context: ./
file: ${{ matrix.path }}
tags: stratosphereips/${{ matrix.image_name }}:latest, stratosphereips/${{ matrix.image_name }}:${{ env.SLIPS_VERSION }}
Expand Down

0 comments on commit cd29df0

Please sign in to comment.