From fb1c9fedf1285882af5c583d0c7d9fa6310e6745 Mon Sep 17 00:00:00 2001 From: Kokomo123 Date: Mon, 26 Aug 2024 08:26:04 -0400 Subject: [PATCH] Adjust free disk space positioning, adjust platforms for qemu, adjust tags --- .github/workflows/main.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1b808e0..e8c60afb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,6 +45,19 @@ jobs: - uses: actions/checkout@master # See: https://stackoverflow.com/a/58178121 + - name: Free Disk Space (Ubuntu) + uses: insightsengineering/disk-space-reclaimer@v1 + with: + # this might remove tools that are actually needed, + # if set to "true" but frees about 6 GB + tools-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + swap-storage: true + docker-images: false + - name: Set Env run: | IMAGE_VERSION=${{ github.ref_name }} @@ -58,20 +71,7 @@ jobs: - name: Use QEMU uses: docker/setup-qemu-action@master with: - platforms: all - - - name: Free Disk Space (Ubuntu) - uses: insightsengineering/disk-space-reclaimer@v1 - with: - # this might remove tools that are actually needed, - # if set to "true" but frees about 6 GB - tools-cache: true - android: true - dotnet: true - haskell: true - large-packages: true - swap-storage: true - docker-images: false + platforms: arm64,amd64 - name: Set up Docker Buildx id: buildx @@ -87,5 +87,5 @@ jobs: builder: ${{ steps.buildx.outputs.name }} platforms: linux/arm64,linux/amd64 push: true - tags: ghcr.io/kokomo123/5etools-img:latest + tags: ghcr.io/${{ github.repository_owner }}/5etools-img:latest # endregion