Add back singular registry-path output

Fixes #29

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2021-02-21 16:41:27 -05:00 committed by Divyanshu Agrawal
parent 902794f5ab
commit 24d8460d9f
6 changed files with 19 additions and 8 deletions

View file

@ -60,6 +60,12 @@ export enum Outputs {
* Default: None.
*/
DIGEST = "digest",
/**
* The first element of registry-paths.
* Required: false
* Default: None.
*/
REGISTRY_PATH = "registry-path",
/**
* A JSON array of registry paths to which the tag(s) were pushed
* Required: false

View file

@ -197,6 +197,7 @@ async function run(): Promise<void> {
}
}
core.setOutput(Outputs.REGISTRY_PATH, registryPathList[0]);
core.setOutput(Outputs.REGISTRY_PATHS, JSON.stringify(registryPathList));
}