mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-04-29 18:19:53 +02:00
Add back singular registry-path output
Fixes #29 Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
902794f5ab
commit
24d8460d9f
6 changed files with 19 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -197,6 +197,7 @@ async function run(): Promise<void> {
|
|||
}
|
||||
}
|
||||
|
||||
core.setOutput(Outputs.REGISTRY_PATH, registryPathList[0]);
|
||||
core.setOutput(Outputs.REGISTRY_PATHS, JSON.stringify(registryPathList));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue