mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-09-16 17:56:56 +00:00
Improve logging (#58)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
1a8a264b95
commit
7433b42479
7 changed files with 120 additions and 33 deletions
|
@ -1,3 +1,5 @@
|
|||
import * as core from '@actions/core';
|
||||
|
||||
export interface Flavor {
|
||||
latest: string;
|
||||
prefix: string;
|
||||
|
@ -38,5 +40,11 @@ export function Transform(inputs: string[]): Flavor {
|
|||
}
|
||||
}
|
||||
|
||||
core.startGroup(`Processing flavor input`);
|
||||
core.info(`latest=${flavor.latest}`);
|
||||
core.info(`prefix=${flavor.prefix}`);
|
||||
core.info(`suffix=${flavor.suffix}`);
|
||||
core.endGroup();
|
||||
|
||||
return flavor;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue