1
0
Fork 0
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:
CrazyMax 2024-05-02 13:49:01 +02:00
parent 86c2bd0031
commit e51051ad0b
No known key found for this signature in database
GPG key ID: ADE44D8C9D44FBE4
2 changed files with 60 additions and 1 deletions

View file

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