From 3d048aa34c764022248a58b139b16eb0783da276 Mon Sep 17 00:00:00 2001 From: Rajpal Chauhan Date: Thu, 29 Feb 2024 11:45:16 -0800 Subject: [PATCH] test Signed-off-by: Rajpal Chauhan --- .github/workflows/main.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4fc56610..78c5987c 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -3,10 +3,10 @@ name: Build and Deploy Image on: workflow_dispatch: inputs: - service: - description: 'Service to build and deploy' - required: true - default: 'aries-endorser-agent' + # service: + # description: 'Service to build and deploy' + # required: true + # default: 'aries-endorser-agent' git_repo_url: description: 'Git repository URL' required: true @@ -58,7 +58,7 @@ env: jobs: build: - if: (github.repository == 'bcgov/dts-endorser-service') || (github.event_name == 'workflow_dispatch') + if: (github.repository == 'bcgov/dts-endorser-service') || (github.event_name == 'workflow_dispatch' && github.event.inputs.service) name: Build Image permissions: packages: write