Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqpXh3hQMMaC74pTjFq4it
11 lines
571 B
Bash
Executable File
11 lines
571 B
Bash
Executable File
#!/bin/sh
|
|
# 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=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 push "$TAG"
|