fix ci_registry variable not being set anymore

This commit is contained in:
David Hiendl 2023-12-06 12:20:37 +01:00
parent 6c5883876a
commit a510c83927
2 changed files with 4 additions and 2 deletions

3
dist/index.js vendored
View File

@ -62404,7 +62404,8 @@ try {
let ci_registry = false; let ci_registry = false;
if (core.getBooleanInput('add_ci_registry_target')) { 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); targetRepos.push(ci_registry_repo);
} }

View File

@ -29,7 +29,8 @@ try {
let ci_registry = false; let ci_registry = false;
if (core.getBooleanInput('add_ci_registry_target')) { 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); targetRepos.push(ci_registry_repo);
} }