mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-08 14:39:31 +02:00
src: add logic to report differently on success and failure
This commit is contained in:
parent
29a5593aa1
commit
fca077e64d
4 changed files with 50 additions and 9 deletions
|
@ -10,6 +10,7 @@ export const blacksmithBuildTaskId = process.env['STATE_blacksmithBuildTaskId']
|
|||
export const blacksmithClientKey = process.env['STATE_blacksmithClientKey'] || '';
|
||||
export const blacksmithClientCaCertificate = process.env['STATE_blacksmithClientCaCertificate'] || '';
|
||||
export const blacksmithRootCaCertificate = process.env['STATE_blacksmithRootCaCertificate'] || '';
|
||||
export const remoteDockerBuildStatus = process.env['STATE_remoteDockerBuildStatus'] || '';
|
||||
|
||||
export function setTmpDir(tmpDir: string) {
|
||||
core.saveState('tmpDir', tmpDir);
|
||||
|
@ -42,3 +43,7 @@ export function setBlacksmithClientCaCertificate(blacksmithClientCaCertificate:
|
|||
export function setBlacksmithRootCaCertificate(blacksmithRootCaCertificate: string) {
|
||||
core.saveState('blacksmithRootCaCertificate', blacksmithRootCaCertificate);
|
||||
}
|
||||
|
||||
export function setRemoteDockerBuildStatus(remoteDockerBuildStatus: string) {
|
||||
core.saveState('remoteDockerBuildStatus', remoteDockerBuildStatus);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue