ancient-island-74119
10/20/2025, 4:51 PMmicroscopic-river-74022
10/20/2025, 4:51 PMmicroscopic-river-74022
10/20/2025, 4:52 PMoutputs.deploymentImageId values for every build action in your Garden project by using the garden get outputs command, provided you have defined these outputs in your project configuration under the outputs key. For example:
yaml
apiVersion: garden.io/v1
kind: Project
name: my-project
outputs:
my-action-image: ${actions.build.my-image.outputs.deployment-image-id}
You can then retrieve all defined outputs (including deployment-image-id for your build actions) with:
garden get outputs -o json
and further process the output with tools like jq if needed.
However, Garden does not automatically output all deploymentImageId values for every build action unless you explicitly define each one in the outputs section of your project config. You would need to add an entry for each build action you want to track.
If you want to list all actions and their details (including outputs), you can use:
garden get actions --detail -o json
But note, the knowledge sources do not explicitly state that this will include the outputs.deploymentImageId directly; you may need to parse the output for the relevant fields or ensure your outputs are defined as shown above for easy extraction [Bonsai-0.13 Project outputs]() [Reference: garden get actions]().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------microscopic-river-74022
10/20/2025, 4:52 PM