mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-08 14:39:31 +02:00
export build record and upload artifact
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
86c2bd0031
commit
e51051ad0b
2 changed files with 60 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
|||
import * as core from '@actions/core';
|
||||
|
||||
export const tmpDir = process.env['STATE_tmpDir'] || '';
|
||||
export const buildRef = process.env['STATE_buildRef'] || '';
|
||||
|
||||
export function setTmpDir(tmpDir: string) {
|
||||
core.saveState('tmpDir', tmpDir);
|
||||
}
|
||||
|
||||
export function setBuildRef(buildRef: string) {
|
||||
core.saveState('buildRef', buildRef);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue