rename additional_registry_destinations to additional_destinations, process additional_destinations as CSV and add values as absolute --tag arguments
This commit is contained in:
1 parent
8aad01c12f
commit
a35b746068
3 files changed
+49
-30809
No files matched your search
+7
-2
@@ -201,8 +201,13 @@ export function prepareDockerArgs(destinations) {
|
||||
dockerArgs.push('--tag ' + dest);
|
||||
});
|
||||
|
||||
if (isNonEmptyStr(core.getInput('additional_registry_destinations'))) {
|
||||
dockerArgs.push(core.getInput('additional_registry_destinations'));
|
||||
if (isNonEmptyStr(core.getInput('additional_destinations'))) {
|
||||
core.getInput('additional_destinations')
|
||||
.split(',')
|
||||
.map(s => s.trim())
|
||||
.forEach(dst => {
|
||||
dockerArgs.push('--tag ' + dst);
|
||||
});
|
||||
}
|
||||
|
||||
if (isNonEmptyStr(core.getInput('build_args'))) {
|
||||
|
||||
Reference in new issue
Block a user