Compare commits

...

10 Commits

Author SHA1 Message Date
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
4 changed files with 14 additions and 7 deletions

View File

@@ -5,26 +5,33 @@ on:
push:
branches:
- "main"
paths-ignore:
- ".gitea/**"
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

@@ -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