fix pipeline
This commit is contained in:
parent
bd9ae40967
commit
773eb3aee8
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ HelmChart:
|
|||
CHART_REPO: oci://$CI_REGISTRY/$CI_PROJECT_PATH/charts
|
||||
script:
|
||||
- helm dependency update "$CHART_DIR"
|
||||
- sed -i "s/^ tag: .*/ tag: $CI_COMMIT_SHA/" "$CHART_DIR/values.yaml"
|
||||
- sed -i "s/^ release: .*/ release: \"$CI_PIPELINE_ID\"/" "$CHART_DIR/values.yaml"
|
||||
- 'sed -i "s/^ tag: .*/ tag: $CI_COMMIT_SHA/" "$CHART_DIR/values.yaml"'
|
||||
- 'sed -i "s/^ release: .*/ release: \"$CI_PIPELINE_ID\"/" "$CHART_DIR/values.yaml"'
|
||||
- helm lint "$CHART_DIR"
|
||||
- |
|
||||
# Flux picks the highest version, so versions must only grow: patch = pipeline IID.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue