towerops/.forgejo/workflows
Graham McIntire 31cbd18128 ci: cache slow runtime apt deps in a prebuilt base image
Splits the runtime apt installs (gdal-bin, snmp, libsnmp40, locales,
BEAM runtime libs) into k8s/Dockerfile.base, hosted at
codeberg.org/gmcintire/towerops-base:latest. The app Dockerfile now
does FROM that base instead of re-installing gdal (~500 MB) on every
push.

The new build-base workflow rebuilds the base image only when
k8s/Dockerfile.base or the workflow itself changes, weekly via cron
(Sundays 06:00 UTC, with CACHE_BUST=<ISO week> to force apt-get update
on a week boundary), or via workflow_dispatch.

Production workflow now uses buildx + does docker login before the
build so it can pull the private base image.
2026-05-05 11:19:49 -05:00
..
build-base.yaml ci: cache slow runtime apt deps in a prebuilt base image 2026-05-05 11:19:49 -05:00
e2e-tests.yaml ci: enable Debian non-free in deb822 sources for snmp-mibs-downloader 2026-05-01 13:16:50 -05:00
pr-tests.yaml ci: enable PostGIS in test workflows + add tests covering ~3pp more 2026-05-05 10:35:22 -05:00
production.yaml ci: cache slow runtime apt deps in a prebuilt base image 2026-05-05 11:19:49 -05:00
renovate.yaml chore(config): add Renovate and build workflows 2026-03-03 16:54:19 -06:00
staging.yaml prod docker change (#221) 2026-03-29 12:16:24 -05:00