30cd407018
- 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/)
19 lines
416 B
YAML
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
|