From 4b920feffa97aefc4d79809633fb69ac35098587 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 14 Dec 2022 16:33:33 +0530 Subject: [PATCH] ci: maximize build space --- .github/workflows/publish-docker.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 5055cf578..5910a7e18 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -11,6 +11,15 @@ jobs: name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 8192 + swap-size-mb: 18432 + remove-dotnet: 'true' + remove-android: 'true' + remove-haskell: 'true' + - name: Check out the repo uses: actions/checkout@v3 @@ -41,6 +50,6 @@ jobs: with: context: . push: true - platforms: linux/amd64,linux/arm64/v8,linux/arm/v7 + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}