new platform engineer agent

This commit is contained in:
Roger Oriol
2026-06-27 00:09:39 +02:00
parent d8012dfb6c
commit 6e02d9a885
13 changed files with 926 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
#!/usr/bin/env bash
# Build & push the derived Hermes image (kubectl + helm) to the Gitea registry.
#
# Run this on a machine with docker + access to git.rogi.casa:
# ./platform-engineer/build-and-push.sh
#
# Prereqs:
# - docker login git.rogi.casa (use your Gitea username + access token)
set -euo pipefail
REGISTRY="git.rogi.casa"
REPO="roger/hermes-agent"
TAG="${TAG:-v1.35-1}"
IMAGE="${REGISTRY}/${REPO}:${TAG}"
cd "$(dirname "$0")"
echo "==> Building ${IMAGE}"
docker build --platform linux/amd64 -t "${IMAGE}" -f dockerfile .
echo "==> Pushing ${IMAGE}"
docker push "${IMAGE}"
echo "==> Done. Update platform-engineer/deployment.yaml image: if you changed TAG."