mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-07-19 04:58:28 +02:00
support standalone mode and display version
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
2a6fbda6d8
commit
3472856dd9
9 changed files with 223 additions and 46 deletions
|
@ -2,6 +2,7 @@ import * as core from '@actions/core';
|
|||
|
||||
export const IsPost = !!process.env['STATE_isPost'];
|
||||
export const IsDebug = !!process.env['STATE_isDebug'];
|
||||
export const standalone = process.env['STATE_standalone'] || '';
|
||||
export const builderName = process.env['STATE_builderName'] || '';
|
||||
export const containerName = process.env['STATE_containerName'] || '';
|
||||
|
||||
|
@ -9,6 +10,10 @@ export function setDebug(debug: string) {
|
|||
core.saveState('isDebug', debug);
|
||||
}
|
||||
|
||||
export function setStandalone(standalone: boolean) {
|
||||
core.saveState('standalone', standalone);
|
||||
}
|
||||
|
||||
export function setBuilderName(builderName: string) {
|
||||
core.saveState('builderName', builderName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue