From d8922adb915b25c98c69dc29928687f3f2223c6c Mon Sep 17 00:00:00 2001 From: Jakub Darmach Date: Wed, 26 Nov 2025 14:29:33 +0100 Subject: [PATCH] Add env input to build Kayobe docker Adds environment input to build Kayobe docker image workflow template when selector set to input. --- roles/github/templates/build-kayobe-docker-image.yml.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/github/templates/build-kayobe-docker-image.yml.j2 b/roles/github/templates/build-kayobe-docker-image.yml.j2 index f23afb1..14cd23c 100644 --- a/roles/github/templates/build-kayobe-docker-image.yml.j2 +++ b/roles/github/templates/build-kayobe-docker-image.yml.j2 @@ -8,6 +8,15 @@ name: %% format_file_name(workflow.file_name, is_title=true) %% on: workflow_dispatch: + <%- if github_environment_selector == 'input' and (github_registry.share | default(github_default_registry.share)) is false +%> + inputs: + kayobe_environment: + description: | + Select the environment the kayobe workflow shall target. + type: choice + options: %% github_kayobe_environments %% + <%- endif +%> + env: KAYOBE_USER_UID: %% github_kayobe_user_id %%