fix(core): update
This commit is contained in:
parent
572738e88f
commit
648effcf86
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user