2 years ago
Is there a way to update the image tag of a service in a published template?
For example if my template has a service with the tag [ghcr.io/coder/coder:v2.10.0](ghcr.io/coder/coder:v2.10.0),
How can I update it using API or CLI preferably in a GitHub action?
The purpose is to keep the template updated without pinning it to the :latest tag.
5 Replies
2 years ago
You would need to call the TemplateUpdateV2 mutation with the full serialisedConfig of your template, you can't edit just one part of a template like you can with services
2 years ago
Thank you
2 years ago
In teh new Template composer I do not see the optiuon to update the demo project?
2 years ago
It links with an old demo project that no more exists
2 years ago
guess its missing that option