fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-30 12:24:00 +02:00
parent 572738e88f
commit 648effcf86

View File

@ -271,9 +271,10 @@ export class Dockerfile {
await bash(`docker push ${this.pushTag}`);
console.log('you can get the digest using this command');
console.log(`docker inspect --format='{{index .RepoDigests 0}}' ${this.pushTag}`);
/* const imageDigest = (await bash(
`docker inspect --format='{{index .RepoDigests 0}}' ${pushTag}`
)).split('@')[1]; */
const imageDigest = await bash(
`docker inspect --format='{{index .RepoDigests 0}}' ${this.pushTag}`
);
console.log(imageDigest);
await this.npmciDockerManagerRef.npmciRef.cloudlyConnector.announceDockerContainer({
dockerImageUrl: this.pushTag,
dockerImageVersion: this.npmciDockerManagerRef.npmciRef.npmciConfig.getConfig().projectInfo