yiekheng 31cf845030 feat(scripts): real publish.sh — buildx push of bot + web images
Was a stub ('not yet implemented (see plan 4)'). Modeled directly on
cm_bot_v2/scripts/publish.sh:
  - Same registry prefix gitea.04080616.xyz/yiekheng.
  - Same NO_SUDO toggle + docker info + buildx preflight diagnostics.
  - Same auth path notes (docker login on the same effective user
    that runs the build).
  - Same buildx --push flow with CM_IMAGE_PLATFORMS / BUILD_ARGS
    overrides and tag from $1 / DOCKER_IMAGE_TAG (default latest).

This repo's services are bot + web (tools is dev-only and not
published). Resulting tags:
  gitea.04080616.xyz/yiekheng/cm-whatsapp-bot:<tag>
  gitea.04080616.xyz/yiekheng/cm-whatsapp-web:<tag>

Mark executable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 22:02:13 +08:00
..