Compare commits
1 Commits
ee826cbdec
...
v2.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b34b53f0b2 |
44
.github/workflows/main.yml
vendored
@@ -44,18 +44,6 @@ 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: |
|
||||
@@ -63,28 +51,24 @@ jobs:
|
||||
# Strip "v" prefix from tag name
|
||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_VERSION=$(echo $IMAGE_VERSION | sed -e 's/^v//')
|
||||
echo "IMAGE_VERSION=$IMAGE_VERSION" >> $GITHUB_ENV
|
||||
|
||||
|
||||
echo "IMAGE_ID=$(echo ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME | tr '[A-Z]' '[a-z]')" >> $GITHUB_ENV
|
||||
|
||||
# region See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio
|
||||
- name: Use QEMU
|
||||
uses: docker/setup-qemu-action@master
|
||||
with:
|
||||
platforms: arm64,amd64
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@master
|
||||
# region See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio
|
||||
- name: Build Image
|
||||
run: |
|
||||
docker build -t $IMAGE_NAME .
|
||||
|
||||
- name: Log In to Registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Build the docker image
|
||||
uses: docker/build-push-action@master
|
||||
with:
|
||||
context: .
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
platforms: linux/arm64,linux/amd64
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository_owner }}/5etools-img:latest
|
||||
- name: Push Image
|
||||
run: |
|
||||
echo IMAGE_ID=$IMAGE_ID
|
||||
echo IMAGE_VERSION=$IMAGE_VERSION
|
||||
docker tag $IMAGE_NAME $IMAGE_ID:$IMAGE_VERSION
|
||||
# Always tag latest when pushing a tag, as we don't expect to ever merge old tags
|
||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
|
||||
docker push $IMAGE_ID:$IMAGE_VERSION
|
||||
docker push $IMAGE_ID:latest
|
||||
# endregion
|
||||
|
||||
BIN
adventure/UtHftLH/00-002.bobby.webp
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
adventure/UtHftLH/00-003.diana.webp
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
adventure/UtHftLH/00-004.eric.webp
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
adventure/UtHftLH/00-005.hank.webp
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
adventure/UtHftLH/00-006.niko.webp
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
adventure/UtHftLH/00-007.presto.webp
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
adventure/UtHftLH/00-008.sheila.webp
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
adventure/UtHftLH/000-00-001.uni.webp
Normal file
|
After Width: | Height: | Size: 197 KiB |
BIN
adventure/UtHftLH/001-map-0.01-woodland-pool.webp
Normal file
|
After Width: | Height: | Size: 878 KiB |
BIN
adventure/UtHftLH/002-map-0.01-woodland-pool-dm.webp
Normal file
|
After Width: | Height: | Size: 852 KiB |
BIN
adventure/UtHftLH/003-map-0.01-woodland-pool-player.webp
Normal file
|
After Width: | Height: | Size: 836 KiB |
BIN
adventure/UtHftLH/004-map-0.02-the-crystal-ball.webp
Normal file
|
After Width: | Height: | Size: 1007 KiB |
BIN
adventure/UtHftLH/005-map-0.02-the-crystal-ball-dm.webp
Normal file
|
After Width: | Height: | Size: 982 KiB |
BIN
adventure/UtHftLH/006-map-0.02-the-crystal-ball-player.webp
Normal file
|
After Width: | Height: | Size: 967 KiB |
BIN
adventure/UtHftLH/thumbnail/001-map-0.01-woodland-pool.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
adventure/UtHftLH/thumbnail/004-map-0.02-the-crystal-ball.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
covers/UtHftLH.webp
Normal file
|
After Width: | Height: | Size: 111 KiB |