docs: Gitea pipeline operating notes; ci-image build publishes to registry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqpXh3hQMMaC74pTjFq4it
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Build peptide-ci-php into the gitea-dind daemon the shared runner uses.
|
||||
# Rebuild the CI image (PHP 8.1/8.2/8.3 + Composer) and publish it to the Gitea
|
||||
# registry. Run on the KVM8 as root. Pulls are anonymous (public org), but the
|
||||
# push needs `docker exec -i gitea-dind docker login git.protopeer.com` first with
|
||||
# a Gitea token that has write:package. Bump TAG and CI_IMAGE in
|
||||
# tools/gitea-pipeline/render.py together, then re-render the pipelines.
|
||||
set -e
|
||||
TAG=peptide-ci-php:2026-10
|
||||
TAG=git.protopeer.com/peptide-repo/ci-php:2026-10
|
||||
docker exec -i gitea-dind docker build -t "$TAG" - < "$(dirname "$0")/Dockerfile"
|
||||
docker exec gitea-dind docker image inspect "$TAG" --format '{{.Id}} {{.Size}}'
|
||||
docker exec gitea-dind docker push "$TAG"
|
||||
|
||||
Reference in New Issue
Block a user