mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-15 02:52:20 +08:00
bug fixes
This commit is contained in:
parent
aa2e43b5c4
commit
79d7af7e76
@ -38,7 +38,8 @@ function getWorkflowAnnotationsJson(lastSuccessRunSha, workflowFilePath, filePat
|
|||||||
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
||||||
+ `'branch': '${process.env.GITHUB_REF}',`
|
+ `'branch': '${process.env.GITHUB_REF}',`
|
||||||
+ `'deployTimestamp': '${Date.now()}',`
|
+ `'deployTimestamp': '${Date.now()}',`
|
||||||
+ `'filePathConfigs': '${filePathConfigs}',`
|
+ `'manifestsPaths': '${JSON.stringify(filePathConfigs.manifestFilePaths)}',`
|
||||||
|
+ `'dockerfilePaths': '${JSON.stringify(filePathConfigs.buildConfigs)}',`
|
||||||
+ `'provider': 'GitHub'`
|
+ `'provider': 'GitHub'`
|
||||||
+ `}`;
|
+ `}`;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,7 +38,8 @@ export function getWorkflowAnnotationsJson(lastSuccessRunSha: string, workflowFi
|
|||||||
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
||||||
+ `'branch': '${process.env.GITHUB_REF}',`
|
+ `'branch': '${process.env.GITHUB_REF}',`
|
||||||
+ `'deployTimestamp': '${Date.now()}',`
|
+ `'deployTimestamp': '${Date.now()}',`
|
||||||
+ `'filePathConfigs': '${filePathConfigs}',`
|
+ `'manifestsPaths': '${JSON.stringify(filePathConfigs.manifestFilePaths)}',`
|
||||||
|
+ `'dockerfilePaths': '${JSON.stringify(filePathConfigs.buildConfigs)}',`
|
||||||
+ `'provider': 'GitHub'`
|
+ `'provider': 'GitHub'`
|
||||||
+ `}`;
|
+ `}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user