Containerized Build Pipeline for OpenTTD Plugins
210
GitHub: xenon007/openttd-grx-builder
Docker Hub: einherji/openttd-grx-builder
This is a generic containerized build wrapper for OpenTTD plugins and graphics packages.
SRC_REPO;make inside the container;dist directory;dist/build.log;docker.io/einherji/openttd-grx-builder:latest and the versioned tag docker.io/einherji/openttd-grx-builder:1.0.0-136, then increments the build number for the next release..env.example to .env.SRC_REPO.docker compose up --build
Example .env:
SRC_REPO=https://github.com/yourname/your-plugin.git
cp .env.example .env
docker compose up --build
Publish checklist: PUBLISH.md
Use the task wrapper:
./task release "Release description in markdown"
It will:
main;latest and version tags;.version-build by 1 for the next release and commit that bump back to main.For a quick preview without publishing:
make release-dry-run RELEASE_DESC="Draft release notes"
For multiline markdown, use a file:
./task release-file RELEASE.md
In this mode the release body is read from RELEASE.md.
If you need to commit changes first:
./task commit "Commit message"
make targetsYou can pass make targets through command in compose.yaml.
Examples:
services:
plugin-build:
command: ["bundle_tar"]
This runs make bundle_tar.
services:
plugin-build:
command: ["tar", "bundle_tar"]
This runs make tar bundle_tar.
distbuild.logmakegenerated/ contents, if present and useful for inspectionContent type
Image
Digest
sha256:19443f010…
Size
119.2 MB
Last updated
3 months ago
docker pull einherji/openttd-grx-builder