chore(ci): remove Gitea workflow and docs
This commit is contained in:
34
README.txt
34
README.txt
@@ -41,37 +41,3 @@ Notes:
|
||||
- The script looks for JS dependencies relative to itself under ./js/
|
||||
- It reproduces the mini-program's getCommand(qr) wrapping and uses the bundled QR JS renderer
|
||||
- Default timezone for QR payload generation is Asia/Shanghai; you can override it with MINIAPP_QR_TIMEZONE
|
||||
|
||||
Gitea CI/CD template:
|
||||
1) Add `.gitea/workflows/docker-cicd.yaml` to your repository.
|
||||
|
||||
2) Repository Actions must be enabled:
|
||||
- Repository Settings -> Enable Repository Actions
|
||||
|
||||
3) Your runner should have a label like:
|
||||
linux_amd64
|
||||
|
||||
4) The runner host needs these commands installed:
|
||||
- git
|
||||
- docker
|
||||
- curl
|
||||
|
||||
5) Required repository variables/secrets:
|
||||
Variables:
|
||||
- PACKAGE_USER -> optional; defaults to current repo owner. If your repo is under an organization, or the token belongs to another user/bot, set this explicitly to the token owner username.
|
||||
- DEFAULT_BRANCH -> optional, defaults to main
|
||||
- IMAGE_NAME -> optional, defaults to current repo name
|
||||
|
||||
Secret:
|
||||
- DOCKER_TOKEN -> personal access token with at least repository read + package read/write permissions
|
||||
|
||||
6) What the workflow does:
|
||||
- clones the current repo from Gitea
|
||||
- builds the Docker image
|
||||
- pushes it to the current Gitea instance package registry
|
||||
- links the pushed container package back to the current repository
|
||||
|
||||
7) Registry image naming:
|
||||
{gitea-domain}/{owner}/{image}
|
||||
Example:
|
||||
gitea.example.com/myteam/miniapp_qr_portable_bundle:latest
|
||||
|
||||
Reference in New Issue
Block a user