clean-kite-99549
09/28/2023, 2:32 PM${replace("${actions.build.dev.outputs.deploymentImageId}", "${actions.build.dev.outputs.deploymentImageName}:", "")}microscopic-river-74022
09/28/2023, 2:33 PMmicroscopic-river-74022
09/28/2023, 2:33 PMversion key. Here is the simplified syntax:
yaml
image: ${actions.build.dev.version}
This will give you the image tag of the dev build action. You can use this in your Kubernetes deployment spec to specify the image tag.
Here is an example of how you can use it in a Kubernetes deployment:
yaml
kind: Deploy
type: helm
name: my-app
spec:
values:
image:
name: ${actions.build.dev.outputs.deployment-image-name}
tag: ${actions.build.dev.version}
In this example, the name field under image is set to the name of the image built by the dev build action, and the tag field is set to the version of the dev build action, which is the image tag.
For more information, you can refer to the Garden documentation ().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------clean-kite-99549
09/28/2023, 2:35 PMmicroscopic-river-74022
09/28/2023, 2:35 PMmicroscopic-river-74022
09/28/2023, 2:35 PM