-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I have the following step:
stage: store
type: "helm"
arguments:
helm_version: 2.16.1
action: auth
commands:
- export IMAGE_TAG="${{CF_BRANCH_TAG_NORMALIZED}}-${{CF_SHORT_REVISION}}"
- export NAME=java-app-test
- sed -i -e 's, latest, '$IMAGE_TAG',g' $NAME/helm/$NAME/values.yaml > /tmp/values.yaml && cp /tmp/values.yaml $NAME/helm/$NAME
The codefresh pipeline execution fails because does not pass the single quotes to the image.
the command works inside a helm docker image.
here is the error:
`failed to prepare plugin, bad indentation of a sequence entry at line 6, column 310:
... s cannot be updated" sed -i -e 's, latest, '$IMAGE_TAG',g' $NAME ...
^
[SYSTEM]
Message bad indentation of a sequence entry at line 6, column 310:
... s cannot be updated" sed -i -e 's, latest, '$IMAGE_TAG',g' $NAME ... `
Metadata
Metadata
Assignees
Labels
No labels