Commit Graph

2 Commits

Author SHA1 Message Date
huty 48374c2d09 fix(ci): rename secret to REGISTRY_TOKEN (Gitea reserves GITEA_ prefix)
Build and Push Docker Image / build-and-push (push) Failing after 6m35s
Gitea rejects secret names starting with GITEA_ (reserved for built-in
secrets). Rename to REGISTRY_TOKEN in both the workflow and the README
setup instructions, and add a comment noting the constraint.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 15:50:11 +09:00
huty 55b1eda359 ci: add Gitea Actions workflow for Docker image build and push
Add .gitea/workflows/build-and-push.yml that builds and pushes the Docker
image to git.hty1024.com/hty1024/ai-app-ops-tools on three triggers: push
to main, push of a v*.*.* tag, and manual workflow_dispatch with an
optional custom tag. Uses docker/metadata-action to derive sensible tags
(branch name, semver, short sha, latest on default branch) and registry-
backed Buildx cache to speed up repeated builds.

README gains a CI/CD section covering trigger rules, one-time setup
(runner registration + GITEA_TOKEN secret with write:package scope), and
how to pull / consume the published image.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-05-21 15:44:53 +09:00