ci: rebuild the production image nightly #81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/nightly-image-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The production image is rebuilt only when someone runs
make prod_buildby hand. Until then the container that Shepherd deploys keeps running whatever base image packages were current at the last build, security fixes included.What changed
make prod_buildon each push tomaster, every night at 04:30 Europe/Rome, and on demand. It builds only formaster, so a manual run from another branch cannot publishlatest.prod_buildpulls the base images on every build, for local builds too.docs/deploy.mddescribes the automated build and what it needs: Actions enabled, a runner with thedockerlabel whose jobs reach a Docker daemon, the variableREGISTRY_USERand the secretREGISTRY_TOKEN, a token limited towrite:package.Verification
make -n prod_buildshows--pull.timezone:is read, and a scheduled run's ref is the short branch name, which is why the job is gated onref_name.make build, since the change touches nothing undersrc/.Risks and follow-ups
pull_requesttrigger.