Compare commits
32 Commits
v2.5.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 |
79
.github/workflows/main.yml
vendored
@@ -17,27 +17,27 @@ concurrency:
|
|||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
#create-release:
|
||||||
runs-on: ubuntu-latest
|
#runs-on: ubuntu-latest
|
||||||
steps:
|
#steps:
|
||||||
- uses: actions/checkout@master
|
# - uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Archive Images
|
# - name: Archive Images
|
||||||
run: |
|
# run: |
|
||||||
rm -rf docker Dockerfile
|
# rm -rf docker Dockerfile
|
||||||
mkdir -p img
|
# mkdir -p img
|
||||||
ls | grep -v img | xargs mv -t img
|
# ls | grep -v img | xargs mv -t img
|
||||||
zip -r -s 500m img-${{ github.ref_name }}.zip 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
|
# 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 (?)
|
# Sleep between creating the release and adding files, as the release takes time to be created (?)
|
||||||
run: |
|
# run: |
|
||||||
gh release create "${{github.ref_name}}" --title "${{github.ref_name}}" --notes "Version ${{ github.ref_name }}"
|
# gh release create "${{github.ref_name}}" --title "${{github.ref_name}}" --notes "Version ${{ github.ref_name }}"
|
||||||
sleep 10
|
# sleep 10
|
||||||
for f in $(find . -name 'img-${{ github.ref_name }}.*' -print); do gh release upload ${{ github.ref_name }} $f; done
|
# for f in $(find . -name 'img-${{ github.ref_name }}.*' -print); do gh release upload ${{ github.ref_name }} $f; done
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
create-image:
|
create-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -51,24 +51,41 @@ jobs:
|
|||||||
# Strip "v" prefix from tag name
|
# Strip "v" prefix from tag name
|
||||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_VERSION=$(echo $IMAGE_VERSION | sed -e 's/^v//')
|
[[ "${{ github.ref }}" == "refs/tags/"* ]] && IMAGE_VERSION=$(echo $IMAGE_VERSION | sed -e 's/^v//')
|
||||||
echo "IMAGE_VERSION=$IMAGE_VERSION" >> $GITHUB_ENV
|
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
|
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
|
# 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
|
- name: Use QEMU
|
||||||
run: |
|
uses: docker/setup-qemu-action@master
|
||||||
docker build -t $IMAGE_NAME .
|
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
|
- name: Log In to Registry
|
||||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
|
|
||||||
- name: Push Image
|
- name: Build the docker image
|
||||||
run: |
|
uses: docker/build-push-action@master
|
||||||
echo IMAGE_ID=$IMAGE_ID
|
with:
|
||||||
echo IMAGE_VERSION=$IMAGE_VERSION
|
context: .
|
||||||
docker tag $IMAGE_NAME $IMAGE_ID:$IMAGE_VERSION
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
# Always tag latest when pushing a tag, as we don't expect to ever merge old tags
|
platforms: linux/arm64,linux/amd64
|
||||||
[[ "${{ github.ref }}" == "refs/tags/"* ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest
|
push: true
|
||||||
docker push $IMAGE_ID:$IMAGE_VERSION
|
tags: ghcr.io/kokomo123/5etools-img:latest
|
||||||
docker push $IMAGE_ID:latest
|
|
||||||
# endregion
|
# endregion
|
||||||
|
|||||||
3
.gitignore
vendored
@@ -26,6 +26,3 @@ sw-injector.js
|
|||||||
|
|
||||||
# Log files
|
# Log files
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
# Dev scripts
|
|
||||||
dev-*.sh
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 912 KiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 380 KiB |
|
Before Width: | Height: | Size: 377 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 434 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 878 KiB |
|
Before Width: | Height: | Size: 852 KiB |
|
Before Width: | Height: | Size: 836 KiB |
|
Before Width: | Height: | Size: 1007 KiB |
|
Before Width: | Height: | Size: 982 KiB |
|
Before Width: | Height: | Size: 967 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 179 KiB |
|
Before Width: | Height: | Size: 216 KiB |
|
Before Width: | Height: | Size: 341 KiB |
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 368 KiB |
|
Before Width: | Height: | Size: 319 KiB |
|
Before Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 273 KiB |
|
Before Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 321 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 357 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 357 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 357 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 322 KiB After Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 100 KiB |
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 55 KiB |