All checks were successful
Build and Push Docker Image / build (push) Successful in 8m35s
Gitea Workflows Configuration
This directory contains Gitea CI/CD workflow definitions.
build.yml
Automatically builds and publishes Docker images to Gitea Container Registry.
Features
- Multi-Variant Builds: Builds both CPU and GPU variants
- Automatic Tagging: Tags images with commit SHA and branch name
- Latest Tag: Applies
latesttag to main branch - Registry Caching: Uses layer caching for faster builds
- Pull Request Testing: Validates code changes without publishing
Required Secrets
Set these in Gitea Repository Settings > Secrets:
GITEA_USERNAME: Your Gitea usernameGITEA_TOKEN: Gitea Personal Access Token (with write:packages scope)
Usage
The workflow automatically triggers on:
pushtomainordevelopbranchespull_requesttomainbranch
Manual Push
git push gitea main
Workflow Status
Check status in:
- Gitea: Repository > Actions
- Logs: Click on workflow run for detailed build logs
Image Registry
Built images are published to:
gitea.example.com/realesrgan-api:latest-cpugitea.example.com/realesrgan-api:latest-gpugitea.example.com/realesrgan-api:{COMMIT_SHA}-cpugitea.example.com/realesrgan-api:{COMMIT_SHA}-gpu