From 5f6a9c4145727dd3a717d98fdc5b3ef93492ec7d Mon Sep 17 00:00:00 2001 From: Freddy Li Date: Wed, 11 Sep 2024 09:46:12 -0400 Subject: [PATCH] update the phala image build process --- .../workflows/phala-e2e-docker-build-push.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/phala-e2e-docker-build-push.yml b/.github/workflows/phala-e2e-docker-build-push.yml index 6d6b7f3..7659fd9 100644 --- a/.github/workflows/phala-e2e-docker-build-push.yml +++ b/.github/workflows/phala-e2e-docker-build-push.yml @@ -16,6 +16,16 @@ jobs: name: Push Phala subbridge integrated E2E Docker image to GitHub Container Registry runs-on: ubuntu-latest steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master # https://github.com/easimon/maximize-build-space + with: + root-reserve-mb: 4096 + temp-reserve-mb: 1024 + swap-size-mb: 8192 + remove-dotnet: "true" + remove-android: "true" + remove-haskell: "true" + - name: Check out the repo uses: actions/checkout@v3 with: @@ -52,16 +62,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Maximize build space - uses: easimon/maximize-build-space@master # https://github.com/easimon/maximize-build-space - with: - root-reserve-mb: 4096 - temp-reserve-mb: 1024 - swap-size-mb: 8192 - remove-dotnet: "true" - remove-android: "true" - remove-haskell: "true" - - name: Build and push id: docker_build uses: docker/build-push-action@v3