Tag-only Docker push: Docker images are ONLY pushed on tag pushes (tag.yaml). Main merges only build, test, and create a git semver tag. This prevents accidentally pushing broken code.
No tests directory: Since nanobot has no custom tests, the test jobs just validate the Docker build succeeds (clones HKUDS/nanobot, builds the image).
External build source: All workflows clone https://github.com/HKUDS/nanobot.git to external-nanobot/ and build from external-nanobot/Dockerfile.
No :latest tag: Following the tag-only-push pattern, no mutable :latest tag is pushed. Users pull specific versions.
Hadolint: Parallel, non-blocking (continue-on-error: true at step level).
Cron: 0 0 * * * (daily at midnight).
Git tag auth: Uses SA_TOKEN_ACTION_PUSH_TAGS (not GITHUB_TOKEN) so the tag push triggers tag.yaml.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
Replace the monolithic
docker-build.yamlwith the standard 4-workflow pattern used across the perso org.Changes
.gitea/workflows/docker-build.yaml— old monolithic workflow.gitea/workflows/pr.yaml— PR checks (hadolint ∥ build-test, no push).gitea/workflows/main.yaml— merge to main (test ⇒ build ⇒ git tag, no Docker push).gitea/workflows/tag.yaml— tag push (test ⇒ build-push to DockerHub, pushes:vX.Y.Z+:vX.Y.Z-latest).gitea/workflows/cron.yaml— nightly rebuild (test ⇒ build-push:$TAG-latest)Key design decisions
tag.yaml). Main merges only build, test, and create a git semver tag. This prevents accidentally pushing broken code.testjobs just validate the Docker build succeeds (clones HKUDS/nanobot, builds the image).https://github.com/HKUDS/nanobot.gittoexternal-nanobot/and build fromexternal-nanobot/Dockerfile.:latesttag: Following the tag-only-push pattern, no mutable:latesttag is pushed. Users pull specific versions.continue-on-error: trueat step level).0 0 * * *(daily at midnight).SA_TOKEN_ACTION_PUSH_TAGS(notGITHUB_TOKEN) so the tag push triggerstag.yaml.Architecture