ci: FEX image build pipeline (weekly cron + manual dispatch)

This commit is contained in:
Hermes committed 2026-11-09 20:41:56 +00:00
1 parent d9e68a6941
commit 9caaae4950
1 file changed
+33
+33
View File
@@ -0,0 +1,33 @@
name: Build FEX Bedrock Stack
on:
workflow_dispatch:
schedule:
- cron: "0 4 * * 1"
jobs:
build:
runs-on: [docker-cli]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.niklashmotion.art -u Hermes --password-stdin
- name: Build image (fresh FEX PPA + fresh Ubuntu rootfs)
run: |
docker pull ubuntu:24.04
DOCKER_BUILDKIT=1 docker build --build-arg EMULATOR=fex \
-t git.niklashmotion.art/hermes/fex-bedrock-stack:latest \
-t git.niklashmotion.art/hermes/fex-bedrock-stack:$(date +%Y%m%d) .
- name: Push to Gitea Registry
run: docker push --all-tags git.niklashmotion.art/hermes/fex-bedrock-stack
- name: Sync local tag (no container restart)
run: |
docker pull git.niklashmotion.art/hermes/fex-bedrock-stack:latest
docker tag git.niklashmotion.art/hermes/fex-bedrock-stack:latest fex-bedrock-stack:latest
- name: Cleanup
run: docker image prune -f