From a89ae24dd71f9b17dd7ec555dcf5cdd3d96a4070 Mon Sep 17 00:00:00 2001 From: Vasily Oleynikov Date: Thu, 19 Dec 2024 06:52:55 +0500 Subject: [PATCH] [CI] Fix SOURCE_REPO env (#113) Signed-off-by: v.oleynikov --- .github/workflows/build_dev.yml | 1 - .github/workflows/build_prod.yml | 1 + .github/workflows/deploy_prod.yml | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_dev.yml b/.github/workflows/build_dev.yml index 27036f23..9eb599bd 100644 --- a/.github/workflows/build_dev.yml +++ b/.github/workflows/build_dev.yml @@ -7,7 +7,6 @@ env: MODULES_MODULE_SOURCE: ${{ vars.DEV_MODULE_SOURCE }} MODULES_REGISTRY_LOGIN: ${{ vars.DEV_MODULES_REGISTRY_LOGIN }} MODULES_REGISTRY_PASSWORD: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }} - # for ex https://user:password@my-repo.com/group SOURCE_REPO: "${{ secrets.SOURCE_REPO }}" on: diff --git a/.github/workflows/build_prod.yml b/.github/workflows/build_prod.yml index f6f9ec7e..71c2407c 100644 --- a/.github/workflows/build_prod.yml +++ b/.github/workflows/build_prod.yml @@ -8,6 +8,7 @@ env: MODULES_REGISTRY_LOGIN: ${{ vars.PROD_MODULES_REGISTRY_LOGIN }} MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} MODULES_MODULE_TAG: ${{ github.ref_name }} + SOURCE_REPO: "${{ secrets.SOURCE_REPO }}" on: push: diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index 2842138b..c80b6efe 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -10,6 +10,7 @@ env: MODULES_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_REGISTRY_PASSWORD }} MODULES_READ_REGISTRY_PASSWORD: ${{ secrets.PROD_MODULES_READ_REGISTRY_PASSWORD }} MODULES_MODULE_TAG: ${{ github.event.inputs.tag }} + SOURCE_REPO: "${{ secrets.SOURCE_REPO }}" on: workflow_dispatch: