Files
gitea-ci-library/.gitea/workflows/ci.yml
T
moilanik 30cd407018
CI / Feature (push) Successful in 13s
CI / Main (push) Has been skipped
refactor: split ci.yml into branch-specific orchestrators, extract version check
- ci.yml: pure dispatch (Feature → ci-feature, Main → ci-main), 18 lines
- ci-feature.yml (new):  load-config → quality-gate
- ci-main.yml (new):     load-config → check-version → quality-gate → docker-build-push
- check-version.yml (new): provider workflow for artifact existence check and version calculation
- docker-build-push.yml (renamed from build_publish-artifact.yml):
  - removed check job, quality-gate block, gatekeeper logic, build-context artifact
  - version passed as input, simplified needs chain (build → push → tag-commit)
  - fixed consumer→provider checkout pattern (.ci/scripts/)
2026-06-15 14:29:01 +03:00

19 lines
416 B
YAML

name: CI
on:
push:
branches: ["**"]
workflow_dispatch:
jobs:
feature:
name: Feature
if: github.ref != 'refs/heads/main'
uses: niko/gitea-ci-library/.gitea/workflows/ci-feature.yml@feature/docker-kuntoon
secrets: inherit
main:
name: Main
if: github.ref == 'refs/heads/main'
uses: niko/gitea-ci-library/.gitea/workflows/ci-main.yml@feature/docker-kuntoon
secrets: inherit