Library step templates with the different ECR repositories

Octopus V2022.3 (Build 10437)

I have to configure around 40 octopus projects. I am planning to use “Library step templates”, so that I can reuse the same template across all the projects.

Step Details: Kubernetes Raw template.

However, I also want to use Referenced Packages, in this step. However, I have different ECR repositories to be refers in the Referenced packages for each project.

How can I ensure that with the same library step template can be used with different ECR Repositories.


Hi Rahul,

Thanks for getting in touch! This can certainly be done by use of a package parameter which allows deferral of package ID and feed selection to the project once the step is added to its process. Once the template is added to the project, you can bind the feed field to a variable. This variable can have multiple scoped values to control which feed is evaluated in which deployment contexts.

I hope this helps!

Best regards,


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.