From ca6778b3ceced77d663cc8252992ee5bec642e62 Mon Sep 17 00:00:00 2001 From: Alexandr Okhrimenko Date: Wed, 27 Dec 2023 11:16:18 +0300 Subject: [PATCH] Update deploy_prod.yml Signed-off-by: Alexandr Okhrimenko --- .github/workflows/deploy_prod.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index 175b435a..8af2de08 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -1,5 +1,13 @@ name: Deploy Prod +env: + MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} + MODULE_SOURCE_NAME: ${{ vars.PROD_MODULE_SOURCE_NAME }} + CI_COMMIT_REF_NAME: ${{ github.ref_name }} + MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} + RELEASE_CHANNEL: ${{ github.event.inputs.version }} + MODULES_MODULE_TAG: ${{ github.event.inputs.tag }} + on: workflow_dispatch: inputs: @@ -30,19 +38,11 @@ on: required: true jobs: - setup-vars: + print-vars: runs-on: ubuntu-latest - env: - MODULES_REGISTRY: ${{ vars.PROD_REGISTRY }} - MODULE_SOURCE_NAME: ${{ vars.PROD_MODULE_SOURCE_NAME }} - CI_COMMIT_REF_NAME: ${{ github.ref_name }} - MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }} - - RELEASE_CHANNEL: ${{ github.event.inputs.version }} - MODULES_MODULE_TAG: ${{ github.event.inputs.tag }} name: Build and Push images steps: - - name: ECHO VAR + - name: PRINT VARS run: | echo $MODULES_REGISTRY echo $MODULE_SOURCE_NAME