Compare commits
1 Commits
ec1c29953b
...
v2.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b4f5779d3 |
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
backgrounds/XPHB/Acolyte.webp
Normal file
|
After Width: | Height: | Size: 111 KiB |
BIN
backgrounds/XPHB/Artisan.webp
Normal file
|
After Width: | Height: | Size: 91 KiB |
BIN
backgrounds/XPHB/Charlatan.webp
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
backgrounds/XPHB/Criminal.webp
Normal file
|
After Width: | Height: | Size: 140 KiB |
BIN
backgrounds/XPHB/Entertainer.webp
Normal file
|
After Width: | Height: | Size: 211 KiB |
BIN
backgrounds/XPHB/Farmer.webp
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
backgrounds/XPHB/Guard.webp
Normal file
|
After Width: | Height: | Size: 171 KiB |
BIN
backgrounds/XPHB/Guide.webp
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
backgrounds/XPHB/Hermit.webp
Normal file
|
After Width: | Height: | Size: 215 KiB |
BIN
backgrounds/XPHB/Merchant.webp
Normal file
|
After Width: | Height: | Size: 134 KiB |
BIN
backgrounds/XPHB/Noble.webp
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
backgrounds/XPHB/Sage.webp
Normal file
|
After Width: | Height: | Size: 267 KiB |
BIN
backgrounds/XPHB/Sailor.webp
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
backgrounds/XPHB/Scribe.webp
Normal file
|
After Width: | Height: | Size: 106 KiB |
BIN
backgrounds/XPHB/Soldier.webp
Normal file
|
After Width: | Height: | Size: 144 KiB |
BIN
backgrounds/XPHB/Wayfarer.webp
Normal file
|
After Width: | Height: | Size: 133 KiB |
BIN
bestiary/XPHB/Aberrant Spirit.webp
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
bestiary/XPHB/Animated Object.webp
Normal file
|
After Width: | Height: | Size: 237 KiB |
BIN
bestiary/XPHB/Ape.webp
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
bestiary/XPHB/Badger.webp
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
bestiary/XPHB/Bat.webp
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
bestiary/XPHB/Black Bear.webp
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
bestiary/XPHB/Boar.webp
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
bestiary/XPHB/Brown Bear.webp
Normal file
|
After Width: | Height: | Size: 96 KiB |
BIN
bestiary/XPHB/Camel.webp
Normal file
|
After Width: | Height: | Size: 77 KiB |
BIN
bestiary/XPHB/Cat.webp
Normal file
|
After Width: | Height: | Size: 151 KiB |
BIN
bestiary/XPHB/Celestial Spirit.webp
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
bestiary/XPHB/Construct Spirit.webp
Normal file
|
After Width: | Height: | Size: 105 KiB |
BIN
bestiary/XPHB/Crab.webp
Normal file
|
After Width: | Height: | Size: 266 KiB |
BIN
bestiary/XPHB/Crocodile.webp
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
bestiary/XPHB/Dire Wolf.webp
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
bestiary/XPHB/Draconic Spirit.webp
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
bestiary/XPHB/Draft Horse.webp
Normal file
|
After Width: | Height: | Size: 128 KiB |
BIN
bestiary/XPHB/Elephant.webp
Normal file
|
After Width: | Height: | Size: 100 KiB |
BIN
bestiary/XPHB/Fey Spirit.webp
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
bestiary/XPHB/Fiendish Spirit.webp
Normal file
|
After Width: | Height: | Size: 281 KiB |
BIN
bestiary/XPHB/Frog.webp
Normal file
|
After Width: | Height: | Size: 127 KiB |
BIN
bestiary/XPHB/Giant Badger.webp
Normal file
|
After Width: | Height: | Size: 163 KiB |
BIN
bestiary/XPHB/Giant Crab.webp
Normal file
|
After Width: | Height: | Size: 266 KiB |
BIN
bestiary/XPHB/Giant Seahorse.webp
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
bestiary/XPHB/Giant Spider.webp
Normal file
|
After Width: | Height: | Size: 268 KiB |
BIN
bestiary/XPHB/Giant Weasel.webp
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
bestiary/XPHB/Hawk.webp
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
bestiary/XPHB/Imp.webp
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
bestiary/XPHB/Lion.webp
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
bestiary/XPHB/Mastiff.webp
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
bestiary/XPHB/Mule.webp
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
bestiary/XPHB/Octopus.webp
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
bestiary/XPHB/Otherworldly Steed.webp
Normal file
|
After Width: | Height: | Size: 246 KiB |
BIN
bestiary/XPHB/Pony.webp
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
bestiary/XPHB/Pseudodragon.webp
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
bestiary/XPHB/Quasit.webp
Normal file
|
After Width: | Height: | Size: 140 KiB |
BIN
bestiary/XPHB/Reef Shark.webp
Normal file
|
After Width: | Height: | Size: 191 KiB |
BIN
bestiary/XPHB/Riding Horse.webp
Normal file
|
After Width: | Height: | Size: 321 KiB |
BIN
bestiary/XPHB/Scorpion.webp
Normal file
|
After Width: | Height: | Size: 133 KiB |
BIN
bestiary/XPHB/Slaad Tadpole.webp
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
bestiary/XPHB/Sphinx of Wonder.webp
Normal file
|
After Width: | Height: | Size: 173 KiB |
BIN
bestiary/XPHB/Spider.webp
Normal file
|
After Width: | Height: | Size: 268 KiB |
BIN
bestiary/XPHB/Sprite.webp
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
bestiary/XPHB/Tiger.webp
Normal file
|
After Width: | Height: | Size: 78 KiB |
BIN
bestiary/XPHB/Undead Spirit.webp
Normal file
|
After Width: | Height: | Size: 209 KiB |
BIN
bestiary/XPHB/Warhorse.webp
Normal file
|
After Width: | Height: | Size: 302 KiB |
BIN
bestiary/XPHB/Weasel.webp
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
bestiary/XPHB/Wolf.webp
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
bestiary/XPHB/Zombie.webp
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
bestiary/tokens/XPHB/Aberrant Spirit.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
bestiary/tokens/XPHB/Animated Object.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
bestiary/tokens/XPHB/Ape.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
bestiary/tokens/XPHB/Badger.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
bestiary/tokens/XPHB/Bat.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
bestiary/tokens/XPHB/Black Bear.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/XPHB/Boar.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/XPHB/Brown Bear.webp
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
bestiary/tokens/XPHB/Camel.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
bestiary/tokens/XPHB/Cat.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/XPHB/Celestial Spirit.webp
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
bestiary/tokens/XPHB/Construct Spirit.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
bestiary/tokens/XPHB/Crab.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
bestiary/tokens/XPHB/Crocodile.webp
Normal file
|
After Width: | Height: | Size: 60 KiB |
BIN
bestiary/tokens/XPHB/Dire Wolf.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
bestiary/tokens/XPHB/Draconic Spirit.webp
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
bestiary/tokens/XPHB/Draft Horse.webp
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
bestiary/tokens/XPHB/Elephant.webp
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
bestiary/tokens/XPHB/Fey Spirit.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/XPHB/Fiendish Spirit.webp
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
bestiary/tokens/XPHB/Frog.webp
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
bestiary/tokens/XPHB/Giant Badger.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
bestiary/tokens/XPHB/Giant Crab.webp
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
bestiary/tokens/XPHB/Giant Seahorse.webp
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
bestiary/tokens/XPHB/Giant Spider.webp
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
bestiary/tokens/XPHB/Giant Weasel.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/XPHB/Hawk.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
bestiary/tokens/XPHB/Imp.webp
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
bestiary/tokens/XPHB/Lion.webp
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
bestiary/tokens/XPHB/Mastiff.webp
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
bestiary/tokens/XPHB/Mule.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/XPHB/Octopus.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
bestiary/tokens/XPHB/Otherworldly Steed.webp
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
bestiary/tokens/XPHB/Pony.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |