Skip to content

Commit 62e532f

Browse files
committed
Fix env support in prepare runner
This change corrects prepare runner playbook being not aware of running environment when we use input environment selector.
1 parent 9ada395 commit 62e532f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

roles/github/templates/prepare-runner.yml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<%- if github_environment_selector == 'input' and (github_registry.share | default(github_default_registry.share)) is false -%>
2+
<%- set github_runs_on = github_runs_on + ['${{ matrix.environment }}'] -%>
3+
<%- endif -%>
14
name: %% format_file_name(workflow.file_name, is_title=true) %%
25

36
on:

0 commit comments

Comments
 (0)