mirror of
https://github.com/5etools-mirror-2/5etools-img.git
synced 2025-12-16 01:43:21 -06:00
Compare commits
4 Commits
8401ac724d
...
57a5e1c8a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57a5e1c8a0 | ||
|
|
306c670366 | ||
|
|
2a7d6d46af | ||
|
|
fb1c9fedf1 |
29
.github/workflows/main.yml
vendored
29
.github/workflows/main.yml
vendored
@@ -44,6 +44,18 @@ jobs:
|
||||
steps:
|
||||
- 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
|
||||
- name: Set Env
|
||||
run: |
|
||||
@@ -58,20 +70,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 +86,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
|
||||
|
||||
Reference in New Issue
Block a user