From a510c83927dfe9c0ae0a9b42637051bec9908edf Mon Sep 17 00:00:00 2001 From: David Hiendl Date: Wed, 6 Dec 2023 12:20:37 +0100 Subject: [PATCH] fix ci_registry variable not being set anymore --- dist/index.js | 3 ++- src/action.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 7eecdde..f9a74eb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62404,7 +62404,8 @@ try { let ci_registry = false; if (core.getBooleanInput('add_ci_registry_target')) { - const ci_registry_repo = information.ci_hostname + '/' + repoStr + ':'; + ci_registry = information.ci_hostname + const ci_registry_repo = ci_registry + '/' + repoStr + ':'; targetRepos.push(ci_registry_repo); } diff --git a/src/action.js b/src/action.js index 8ebd69a..5f73805 100644 --- a/src/action.js +++ b/src/action.js @@ -29,7 +29,8 @@ try { let ci_registry = false; if (core.getBooleanInput('add_ci_registry_target')) { - const ci_registry_repo = information.ci_hostname + '/' + repoStr + ':'; + ci_registry = information.ci_hostname; + const ci_registry_repo = ci_registry + '/' + repoStr + ':'; targetRepos.push(ci_registry_repo); }