Files
Developer 706e6c431d
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m35s
feat: remove GPU support and simplify to CPU-only architecture
2026-02-19 12:41:13 +01:00
..

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 latest tag 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 username
  • GITEA_TOKEN: Gitea Personal Access Token (with write:packages scope)

Usage

The workflow automatically triggers on:

  • push to main or develop branches
  • pull_request to main branch

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-cpu
  • gitea.example.com/realesrgan-api:latest-gpu
  • gitea.example.com/realesrgan-api:{COMMIT_SHA}-cpu
  • gitea.example.com/realesrgan-api:{COMMIT_SHA}-gpu