Skip to content

Commit d8922ad

Browse files
committed
Add env input to build Kayobe docker
Adds environment input to build Kayobe docker image workflow template when selector set to input.
1 parent 9ada395 commit d8922ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

roles/github/templates/build-kayobe-docker-image.yml.j2

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ name: %% format_file_name(workflow.file_name, is_title=true) %%
88

99
on:
1010
workflow_dispatch:
11+
<%- if github_environment_selector == 'input' and (github_registry.share | default(github_default_registry.share)) is false +%>
12+
inputs:
13+
kayobe_environment:
14+
description: |
15+
Select the environment the kayobe workflow shall target.
16+
type: choice
17+
options: %% github_kayobe_environments %%
18+
<%- endif +%>
19+
1120

1221
env:
1322
KAYOBE_USER_UID: %% github_kayobe_user_id %%

0 commit comments

Comments
 (0)