mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-24 09:10:57 -05:00
print info message for build summary support checks
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
16ebe778df
commit
23c657a01f
1 changed files with 4 additions and 4 deletions
|
@ -162,13 +162,13 @@ actionsToolkit.run(
|
||||||
if (!buildSummaryEnabled()) {
|
if (!buildSummaryEnabled()) {
|
||||||
core.info('Build summary disabled');
|
core.info('Build summary disabled');
|
||||||
} else if (GitHub.isGHES) {
|
} else if (GitHub.isGHES) {
|
||||||
core.warning('Build summary is not yet supported on GHES');
|
core.info('Build summary is not yet supported on GHES');
|
||||||
} else if (!(await toolkit.buildx.versionSatisfies('>=0.13.0'))) {
|
} else if (!(await toolkit.buildx.versionSatisfies('>=0.13.0'))) {
|
||||||
core.warning('Build summary requires Buildx >= 0.13.0');
|
core.info('Build summary requires Buildx >= 0.13.0');
|
||||||
} else if (builder && builder.driver === 'cloud') {
|
} else if (builder && builder.driver === 'cloud') {
|
||||||
core.warning('Build summary is not yet supported with Docker Build Cloud');
|
core.info('Build summary is not yet supported with Docker Build Cloud');
|
||||||
} else if (!ref) {
|
} else if (!ref) {
|
||||||
core.warning('Build summary requires a build reference');
|
core.info('Build summary requires a build reference');
|
||||||
} else {
|
} else {
|
||||||
core.info('Build summary supported!');
|
core.info('Build summary supported!');
|
||||||
stateHelper.setSummarySupported();
|
stateHelper.setSummarySupported();
|
||||||
|
|
Loading…
Reference in a new issue