From ed5a0cdbadee2c9755658c2077bc4639f1ce2f1b Mon Sep 17 00:00:00 2001 From: Yugandharkumar Date: Wed, 26 Jun 2024 13:44:10 +0530 Subject: [PATCH] Update orca-oes.yml --- .github/workflows/orca-oes.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/orca-oes.yml b/.github/workflows/orca-oes.yml index 255b01f86b..70c14a0726 100644 --- a/.github/workflows/orca-oes.yml +++ b/.github/workflows/orca-oes.yml @@ -2,7 +2,17 @@ name: Branch Build orca on: workflow_call: - workflow_dispatch: + workflow_dispatch: + inputs: + CUSTOMPLUGIN_RELEASEVERSION: + # Friendly description to be shown in the UI instead of 'name' + description: 'CUSTOMPLUGIN_RELEASEVERSION version' + # Default value if no value is explicitly provided + default: 'v4.0.4.2-rc5' + # Input has to be provided for the workflow to run + required: false + # The data type of the input + type: string push: branches: - OES-1.30.1 @@ -59,7 +69,7 @@ jobs: with: context: . build-args: | - CUSTOMPLUGIN_RELEASEVERSION=v4.0.4.2-rc5 + CUSTOMPLUGIN_RELEASEVERSION=${{ inputs.CUSTOMPLUGIN_RELEASEVERSION }} CUSTOMPLUGIN_RELEASEORG=opsmx CUSTOMPLUGIN_RELEASEREPO=armory-observability-plugin CUSTOMPLUGIN_RELEASE_VERSION=v1.0.1 @@ -73,7 +83,7 @@ jobs: with: context: . build-args: | - CUSTOMPLUGIN_RELEASEVERSION=v4.0.4.2-rc5 + CUSTOMPLUGIN_RELEASEVERSION=${{ inputs.CUSTOMPLUGIN_RELEASEVERSION }} CUSTOMPLUGIN_RELEASEORG=opsmx CUSTOMPLUGIN_RELEASEREPO=armory-observability-plugin CUSTOMPLUGIN_RELEASE_VERSION=v1.0.1