Replies: 1 comment
-
- uses: yaml-update
as: update-chart-image
config:
path: ./src/apps/dev/deployment.yaml
updates:
- key: spec.values.override_app_image
value: registry.example.com/demo/images/nginx:${{ imageFrom("registry.example.com/demo/images/nginx").Tag }} or - uses: yaml-update
as: update-chart-image
config:
path: ./src/apps/dev/deployment.yaml
updates:
- key: spec.values.override_app_image
value: ${{ imageFrom("registry.example.com/demo/images/nginx").RepoURL }}:${{ imageFrom("registry.example.com/demo/images/nginx").Tag }} should make this work for you. Refer also to the expression language reference to get a better grasp on how this works, as it is of growing importance to describe (complex) promotion steps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw with the new version of kargo
helm-update-image
is deprecated.We have this config for that:
Now how can I achieve the same thing for
ImageAndTag
withyaml-update
?Beta Was this translation helpful? Give feedback.
All reactions