You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨ simplify release process and operator image tag handling (#1444)
* ✨ enhance: simplify release workflow and update documentation for version preparation
* ✨ enhance: simplify image tag handling in values and templates for the operator
echo "No changes to commit — version files are already up to date"
84
+
exit 0
81
85
fi
82
86
83
-
- name: Move tag to include version updates
84
-
if: steps.commit.outputs.changed == 'true'
85
-
run: |
86
-
TAG="${{ steps.version.outputs.tag }}"
87
+
git commit -m "🚀 Release ${TAG}"
88
+
git push origin "${BRANCH}"
89
+
90
+
gh pr create \
91
+
--title "🚀 Release ${TAG}" \
92
+
--body "$(cat <<EOF
93
+
## Release ${TAG}
94
+
95
+
This PR updates version files for the ${TAG} release.
87
96
88
-
# Delete the old tag (local and remote)
89
-
git tag -d "${TAG}" || true
90
-
git push origin ":refs/tags/${TAG}" || true
97
+
### Changed files
98
+
- \`charts/mondoo-operator/Chart.yaml\` — version and appVersion → ${VERSION}
99
+
- \`config/manager/kustomization.yaml\` — image tag → ${TAG}
100
+
- Generated manifests and Helm CRDs
91
101
92
-
# Create new tag at current HEAD (which includes version updates)
93
-
git tag "${TAG}"
94
-
git push origin "${TAG}"
102
+
### After merging
103
+
[Create a new GitHub Release](https://github.com/${{ github.repository }}/releases/new?tag=${TAG}&target=main&title=${TAG}) with tag \`${TAG}\` targeting \`main\`.
104
+
The **Publish** workflow will then build and push container images and the Helm chart.
|`controllerManager.manager.args`| Command-line arguments passed to the operator manager container |`["operator","--health-probe-bind-address=:8081","--metrics-bind-address=:8080","--leader-elect"]`|
38
38
|`controllerManager.manager.containerSecurityContext`| Security context for the manager container |`{}`|
39
39
|`controllerManager.manager.image.repository`| Container image repository for the operator |`ghcr.io/mondoohq/mondoo-operator`|
40
-
|`controllerManager.manager.image.tag`| Container image tag for the operator |`v12.0.1`|
40
+
|`controllerManager.manager.image.tag`| Container image tag for the operator (defaults to .Chart.AppVersion) |`""`|
41
41
|`controllerManager.manager.imagePullPolicy`| Image pull policy for the operator container |`IfNotPresent`|
42
42
|`controllerManager.manager.resources`| Resource requests and limits for the manager container |`{}`|
43
43
|`controllerManager.podSecurityContext`| Pod-level security context for the controller manager |`{}`|
0 commit comments