Files
dockercraft/.gitea/workflows/build-dev.yml
T
jeremy 5688b30892 fix: migrate PaperMC to v3 API, fix NeoForge beta fallback, add test suite
- Migrate Paper loader from sunset v2 API to v3 (fill.papermc.io)
- Fix NeoForge: fall back to beta versions when no stable exists (set -e + grep)
- Fix setEula/setperms ordering (was writing eula.txt before /data was writable)
- Fix setEula/serverInfoWrite to use absolute paths (/data/server/)
- Add VOLUME directive removal (was shadowing bind mounts)
- Add comprehensive API test suite (110 tests across 6 suites)
- Move test.sh to tests/integration.sh, switch to named volumes
- Add Docker build cache to CI workflows
- Add .editorconfig, expand .gitignore, improve README docs
2026-08-21 12:49:27 -04:00

28 lines
721 B
YAML

name: Build dev image
on:
push:
branches: [dev]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to local Gitea registry
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY }}
username: ${{ vars.ACTIONS_USER }}
password: ${{ secrets.PACKAGES_TOKEN }}
- name: Docker Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ vars.REGISTRY }}/${{ gitea.repository }}:dev
cache-from: type=gha
cache-to: type=gha,mode=max