Simplify Helm workflow to build on main branch only
Some checks failed
Helm Chart Build / lint-only (push) Has been skipped
Helm Chart Build / build-helm (push) Failing after 9s
Build and Deploy / build-web (push) Successful in 37s
Build and Deploy / build-api (push) Successful in 38s

- Removed tag-based triggers and release creation
- Renamed workflow from helm-release.yml to helm-build.yml
- Simplified to always build and publish on main branch push
- Version always comes from Chart.yaml (no modifications)
- Removed all release-related logic and conditions
- Kept PR linting for validation
- Cleaner and simpler workflow focused on continuous delivery
- Updated README to reflect the new workflow structure
This commit is contained in:
d.viti
2025-10-03 02:42:25 +02:00
parent 20c9d2eaf4
commit 11d116bdd1
3 changed files with 106 additions and 247 deletions

View File

@@ -97,17 +97,16 @@ The CI/CD workflows automatically:
3. Tags images with branch name
4. Implements layer caching for faster builds
**`.gitea/workflows/helm-release.yml`**:
**`.gitea/workflows/helm-build.yml`**:
1. Packages Helm charts on every main branch push
2. Creates development versions for main branch builds
3. Creates release versions for tags (v*.*.*)
4. Publishes charts to Gitea Helm registry
5. Creates GitHub releases for tagged versions
2. Uses version from Chart.yaml (single source of truth)
3. Publishes charts to Gitea Helm registry
4. Validates charts on pull requests (lint only)
**Triggers:**
- Any branch push (Docker images)
- Push to main branch (Helm chart)
- Version tags (Helm releases)
- Pull requests (Helm lint only)
- Manual dispatch
**Registry:** `git.commandware.com/demos/api7-demo`