2
0
Fork 0
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:
CrazyMax 2021-04-03 18:15:27 +02:00 committed by GitHub
parent 1a8a264b95
commit 7433b42479
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 120 additions and 33 deletions

View file

@ -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;
}