mirror of
https://github.com/5etools-mirror-2/5etools-img.git
synced 2025-12-17 14:33:21 -06:00
Compare commits
1 Commits
93aea41a0c
...
506a003c62
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
506a003c62 |
29
.github/workflows/main.yml
vendored
29
.github/workflows/main.yml
vendored
@@ -44,18 +44,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
# Avoid the following error when building multiple large images:
|
|
||||||
# `System.IO.IOException: No space left on device : '/home/runner/runners/2.319.1/_diag/Worker_20240826-130726-utc.log'`
|
|
||||||
# See also: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
|
|
||||||
- name: Free Disk Space (Ubuntu)
|
|
||||||
uses: insightsengineering/disk-space-reclaimer@v1
|
|
||||||
with:
|
|
||||||
android: true
|
|
||||||
dotnet: true
|
|
||||||
haskell: true
|
|
||||||
large-packages: true
|
|
||||||
swap-storage: true
|
|
||||||
docker-images: false
|
|
||||||
# See: https://stackoverflow.com/a/58178121
|
# See: https://stackoverflow.com/a/58178121
|
||||||
- name: Set Env
|
- name: Set Env
|
||||||
run: |
|
run: |
|
||||||
@@ -70,7 +58,20 @@ jobs:
|
|||||||
- name: Use QEMU
|
- name: Use QEMU
|
||||||
uses: docker/setup-qemu-action@master
|
uses: docker/setup-qemu-action@master
|
||||||
with:
|
with:
|
||||||
platforms: arm64,amd64
|
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
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
@@ -86,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/${{ github.repository_owner }}/5etools-img:latest
|
tags: ghcr.io/kokomo123/5etools-img:latest
|
||||||
# endregion
|
# endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user