Commit graph

3 commits

Author SHA1 Message Date
ec8e32726b Use Kaniko for Docker builds
Some checks failed
Build base image / Build and push base image (push) Failing after 2s
Production Deployment / Run ExUnit Tests (push) Failing after 1m0s
Production Deployment / Build and Push Docker Image (push) Has been skipped
2026-07-24 14:36:25 -05:00
c243949045 Migrate from codeberg.org to git.mcintire.me
Some checks are pending
Production Deployment / Run ExUnit Tests (push) Waiting to run
Production Deployment / Build and Push Docker Image (push) Blocked by required conditions
Build base image / Build and push base image (push) Successful in 1m2s
2026-07-24 14:23:23 -05:00
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