Compare commits
34 Commits
v1.209.1
...
8401ac724d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8401ac724d | ||
|
|
46f6a43848 | ||
|
|
8fe91b6360 | ||
|
|
ad8f7bf9ef | ||
|
|
d199155e78 | ||
|
|
b8bd7d61e5 | ||
|
|
38fa963484 | ||
|
|
828b2b245a | ||
|
|
89a4cdc5a7 | ||
|
|
23c81ab305 | ||
|
|
5ebf0e2d13 | ||
|
|
856cc070b8 | ||
|
|
cc04a95682 | ||
|
|
8f791c05f0 | ||
|
|
5bccfe60b7 | ||
|
|
d6415aef0b | ||
|
|
a70b87fd00 | ||
|
|
02d7c8c0ef | ||
|
|
713b56d4e2 | ||
|
|
3af7d71726 | ||
|
|
a12413fa58 | ||
|
|
a970a6294a | ||
|
|
18d17209b2 | ||
|
|
5048871058 | ||
|
|
9ae408de25 | ||
|
|
b3ba187884 | ||
|
|
4638c1af7a | ||
|
|
39c0995504 | ||
|
|
340945a77d | ||
|
|
5ec8e31615 | ||
|
|
e4085c323f | ||
|
|
60f6061ba8 | ||
|
|
4e16e59391 | ||
|
|
725b00760b |
79
.github/workflows/main.yml
vendored
@@ -17,27 +17,27 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
#create-release:
|
||||
#runs-on: ubuntu-latest
|
||||
#steps:
|
||||
# - uses: actions/checkout@master
|
||||
|
||||
- name: Archive Images
|
||||
run: |
|
||||
rm -rf docker Dockerfile
|
||||
mkdir -p img
|
||||
ls | grep -v img | xargs mv -t img
|
||||
zip -r -s 500m img-${{ github.ref_name }}.zip img/
|
||||
# - name: Archive Images
|
||||
# run: |
|
||||
# rm -rf docker Dockerfile
|
||||
# mkdir -p img
|
||||
# ls | grep -v img | xargs mv -t img
|
||||
# zip -r -s 500m img-${{ github.ref_name }}.zip img/
|
||||
|
||||
- name: Upload Release
|
||||
# - name: Upload Release
|
||||
# Add the files one-by-one in an effort to avoid timeouts
|
||||
# Sleep between creating the release and adding files, as the release takes time to be created (?)
|
||||
run: |
|
||||
gh release create "${{github.ref_name}}" --title "${{github.ref_name}}" --notes "Version ${{ github.ref_name }}"
|
||||
sleep 10
|
||||
for f in $(find . -name 'img-${{ github.ref_name }}.*' -print); do gh release upload ${{ github.ref_name }} $f; done
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# run: |
|
||||
# gh release create "${{github.ref_name}}" --title "${{github.ref_name}}" --notes "Version ${{ github.ref_name }}"
|
||||
# sleep 10
|
||||
# for f in $(find . -name 'img-${{ github.ref_name }}.*' -print); do gh release upload ${{ github.ref_name }} $f; done
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
create-image:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -51,24 +51,41 @@ 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: Build Image
|
||||
run: |
|
||||
docker build -t $IMAGE_NAME .
|
||||
# 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: 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
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@master
|
||||
|
||||
- name: Log In to Registry
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- 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
|
||||
- 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/kokomo123/5etools-img:latest
|
||||
# endregion
|
||||
|
||||
1
.gitignore
vendored
@@ -12,6 +12,7 @@ img
|
||||
# Misc dev/scripting files
|
||||
trash
|
||||
trash_in
|
||||
node_
|
||||
|
||||
# Generated files
|
||||
sitemap.xml
|
||||
|
||||
BIN
bestiary/tokens/QftIS/Amun Sa.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Android Aerialist.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
bestiary/tokens/QftIS/Android Diplomat.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Android Duelist.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Android Medic.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Android Sentry.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/QftIS/Android.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Barkburr.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Champion of Gorm.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
bestiary/tokens/QftIS/Champion of Madarua.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/QftIS/Champion of Usamigaras.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Cipolla.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/QftIS/Combat Robot.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Derro Apprentice.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Derro Raider.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Derwyth.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Drelnza.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Froghemoth Elder.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
bestiary/tokens/QftIS/Gibberling.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
bestiary/tokens/QftIS/Grisdelfawr.webp
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
bestiary/tokens/QftIS/Guardian of Gorm.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
bestiary/tokens/QftIS/Horrid Plant.webp
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
bestiary/tokens/QftIS/Iaseda.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Isabela Folcarae.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Juliana.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Leprechaun.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
bestiary/tokens/QftIS/Mage of Usamigaras.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Maschin-i-Bozorg.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
bestiary/tokens/QftIS/Memory Web.webp
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
bestiary/tokens/QftIS/Nafas.webp
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
bestiary/tokens/QftIS/Nafik.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
bestiary/tokens/QftIS/Orlando.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Pech.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Piyarz.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
bestiary/tokens/QftIS/Porro.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Queen Zanobis.webp
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
bestiary/tokens/QftIS/Shalfey.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Silverlily.webp
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
bestiary/tokens/QftIS/Sion.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Spirit of Hunger.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
bestiary/tokens/QftIS/Stargleam.webp
Normal file
|
After Width: | Height: | Size: 58 KiB |
BIN
bestiary/tokens/QftIS/Svirfneblin.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Swarm of Gibberlings.webp
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
bestiary/tokens/QftIS/The Gardener.webp
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
bestiary/tokens/QftIS/Tower Hand.webp
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
bestiary/tokens/QftIS/Tower Sage.webp
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
bestiary/tokens/QftIS/Uma.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/QftIS/Vegepygmy Moldmaker.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Vegepygmy Scavenger.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Vegepygmy Thorny Hunter.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
bestiary/tokens/QftIS/Vuuthramis.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
bestiary/tokens/QftIS/Warrior of Madarua.webp
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
bestiary/tokens/QftIS/Wolf-in-Sheep's-Clothing.webp
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
bestiary/tokens/QftIS/Worker Robot.webp
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
bestiary/tokens/QftIS/Zargon the Returner.webp
Normal file
|
After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 811 KiB |