Compare commits

..

15 Commits

Author SHA1 Message Date
bbb8f31de3 Only check on days when not auto-building
All checks were successful
Build on Commit / build-and-push-image (push) Successful in 10m22s
Get latest release version / get-version (push) Successful in 10s
2024-07-21 09:58:34 -05:00
233c53ea3c Reduced version check rate
All checks were successful
Build on Commit / build-and-push-image (push) Successful in 55s
Get latest release version / get-version (push) Successful in 9s
2024-06-12 13:12:46 -05:00
ca59159e7b Trigger new release autobuild for v1.11.13
All checks were successful
Build on Commit / build-and-push-image (push) Successful in 41s
Get latest release version / get-version (push) Successful in 5s
2024-06-04 16:30:57 +00:00
bb117c9c31 Reorganized remote release monitoring
Some checks failed
Build on Commit / build-and-push-image (push) Has been cancelled
Get latest release version / get-version (push) Successful in 6s
2024-06-04 11:12:33 -05:00
5fd3987e0e Add release monitoring
Some checks failed
Build on Commit / build-and-push-image (push) Has been cancelled
2024-06-04 11:06:39 -05:00
2120ace645 Add paths-ignore to build file 2024-03-01 14:33:26 -06:00
85a9cc945f Bring build config to parity, try to ignore changes for autobuild 2024-03-01 14:00:27 -06:00
9a3a486fd2 Add automated build task 2024-03-01 13:56:15 -06:00
4c88dc465b Update ContainerTools location 2024-01-24 15:28:21 -06:00
dd6a253581 Point to new ContainerTools repo 2024-01-22 21:14:52 -06:00
bd7a4dd15a Normalize startup script name 2024-01-22 21:13:39 -06:00
3364d32e23 Explicitly make continer-prep script executable 2024-01-22 19:46:41 -06:00
b37f312049 Testing more changes 2024-01-22 19:42:46 -06:00
d92469d61d Remove QEMU 2024-01-22 19:25:11 -06:00
796bfb0ab5 Playing with buildx 2024-01-22 19:24:31 -06:00
7 changed files with 49 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
.gitea/
.gitignore
README.md
docker-compose.yml

View File

@@ -0,0 +1 @@
v1.11.13

View File

@@ -5,26 +5,33 @@ on:
push:
branches:
- "main"
paths-ignore:
- ".gitea/workflows/**"
schedule:
- cron: "0 0 * * 0"
env:
REGISTRY: gitea.taco.quest
IMAGE_NAME: ${{ gitea.repository }}
jobs:
build-and-push-image:
runs-on: self-hosted
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
# - name: Prepare the container
# run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
- name: Prepare the container
run: curl -fsSL https://get.docker.com -o get-docker.sh && sh ./get-docker.sh
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

View File

@@ -0,0 +1,33 @@
name: Get latest release version
on:
schedule:
- cron: "0 0 * * 1-6"
env:
MONITOR_URL: "https://api.github.com/repos/pterodactyl/wings/releases/latest"
jobs:
get-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_MOD_TOKEN }}
- name: Prepare the container
run: apt-get update && apt-get --no-install-recommends -y install jq
- name: Fetch release version
id: version-check
run: |
VERSION_TAG=$(curl -sL $MONITOR_URL | jq -r .tag_name)
echo "$VERSION_TAG" > .gitea/remote-releases/latest.txt
echo ::set-output name=version::"$VERSION_TAG"
- name: Check for modified files
id: git-check
run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")
- name: Commit latest release version
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.name 'Actions'
git config --global user.email 'noreply@taco.quest'
git commit -am "Trigger new release autobuild for ${{ steps.version-check.outputs.version }}"
git push

View File

@@ -11,14 +11,14 @@ ADD https://github.com/just-containers/s6-overlay/releases/latest/download/s6-ov
ADD https://github.com/just-containers/s6-overlay/releases/latest/download/s6-overlay-x86_64.tar.xz /tmp
# Download common tools
ADD https://raw.githubusercontent.com/Gethec/ProjectTools/main/DockerUtilities/ContainerTools /usr/local/sbin/ContainerTools
ADD https://gitea.taco.quest/Mindfang/ProjectTools/raw/branch/main/DockerUtilities/bash/ContainerTools /usr/local/sbin/ContainerTools
# Upgrade installed packages, install new ones
RUN apk --no-cache add \
bash \
tzdata && \
# Install S6-Overlay, enable execution of Wings
chmod u+x /usr/bin/wings && \
chmod u+x /usr/bin/wings /etc/s6-overlay/scripts/initializer && \
tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz && \
tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && \
# Container cleanup

View File

@@ -1 +1 @@
/etc/s6-overlay/scripts/container-prep
/etc/s6-overlay/scripts/initializer