An inert replacement image for a retired long-running service. It writes one
status line, makes no network requests, and remains running until it receives
SIGINT or SIGTERM. Remaining alive prevents always and unless-stopped
restart policies from creating restart storms.
docker build \
--build-arg SERVICE=sinavideo \
--build-arg CONTAINER_NAME=saveweb_archivesinavideo \
-t retired-image .
docker run --rm retired-imageRun the Publish retirement image workflow manually and set:
repository: the registry repository to retire, for examplesaveweb/sinavideo.service: the name printed once at container startup.container_name: the container name printed in the removal command, for examplesaveweb_archivesinavideo.retirement_tag: an immutable audit tag, for exampleretired-20260826.
The workflow publishes both the immutable retirement tag and latest to
git.saveweb.org. Existing deployments that track latest can then replace
the old service image without changing their container configuration.
Pinned old image tags are intentionally not overwritten.