fix(core): update

This commit is contained in:
2019-08-29 20:56:02 +02:00
parent 29e81f3ae7
commit bde26cc312
7 changed files with 75 additions and 10 deletions

View File

@@ -266,6 +266,13 @@ export class Dockerfile {
);
await bash(`docker tag ${this.buildTag} ${pushTag}`);
await bash(`docker push ${pushTag}`);
const imageDigest = (await bash(
`docker inspect --format='{{index .RepoDigests 0}}' ${pushTag}`
)).split('@')[1];
await this.npmciDockerManagerRef.npmciRef.cloudlyConnector.announceDockerContainer({
dockerImageUrl: pushTag,
dockerImageVersion: imageDigest
});
}
/**