From ce7b40f86530b3bc3c81432a01c6920707692595 Mon Sep 17 00:00:00 2001 From: mauwii Date: Thu, 28 Sep 2023 23:17:31 +0200 Subject: [PATCH] move step to free up disk space before build --- .github/workflows/ci.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f47b75..d3ea7da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,13 +82,6 @@ jobs: steps: - uses: actions/checkout@v4.1.0 - - name: Free up disk space - # kics-scan ignore-line - uses: ./.github/actions/free-space - with: - deleteDotnet: 'true' - deleteAndroid: 'true' - - name: Setup QEMU # kics-scan ignore-line uses: docker/setup-qemu-action@v3.0.0 @@ -112,10 +105,18 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN || secrets.GITHUB_TOKEN }} logout: true + # Free up space on the runner + - name: Free up disk space + # kics-scan ignore-line + uses: ./.github/actions/free-space + with: + deleteDotnet: 'true' + deleteAndroid: 'true' + # Bake the image - # kics-scan ignore-line - - uses: docker/bake-action@v4.0.0 - name: Build and Push + - name: Build and Push + # kics-scan ignore-line + uses: docker/bake-action@v4.0.0 id: bake with: files: docker-bake.hcl