Simplify Helm workflow to build on main branch only
- 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:
11
README.md
11
README.md
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user