mirror of
https://github.com/5etools-mirror-2/5etools-img.git
synced 2025-12-17 14:33:21 -06:00
Adjust free disk space positioning, adjust platforms for qemu, adjust tags
This commit is contained in:
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
@@ -45,6 +45,19 @@ jobs:
|
|||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
# See: https://stackoverflow.com/a/58178121
|
# 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
|
- name: Set Env
|
||||||
run: |
|
run: |
|
||||||
IMAGE_VERSION=${{ github.ref_name }}
|
IMAGE_VERSION=${{ github.ref_name }}
|
||||||
@@ -58,20 +71,7 @@ jobs:
|
|||||||
- name: Use QEMU
|
- name: Use QEMU
|
||||||
uses: docker/setup-qemu-action@master
|
uses: docker/setup-qemu-action@master
|
||||||
with:
|
with:
|
||||||
platforms: all
|
platforms: arm64,amd64
|
||||||
|
|
||||||
- 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 up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
@@ -87,5 +87,5 @@ jobs:
|
|||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
platforms: linux/arm64,linux/amd64
|
platforms: linux/arm64,linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/kokomo123/5etools-img:latest
|
tags: ghcr.io/${{ github.repository_owner }}/5etools-img:latest
|
||||||
# endregion
|
# endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user