Adjust free disk space positioning, adjust platforms for qemu, adjust tags

This commit is contained in:
Kokomo123
2024-08-26 08:26:04 -04:00
parent 8401ac724d
commit fb1c9fedf1

View File

@@ -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