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}`);
|
await bash(`docker push ${this.pushTag}`);
|
||||||
console.log('you can get the digest using this command');
|
console.log('you can get the digest using this command');
|
||||||
console.log(`docker inspect --format='{{index .RepoDigests 0}}' ${this.pushTag}`);
|
console.log(`docker inspect --format='{{index .RepoDigests 0}}' ${this.pushTag}`);
|
||||||
/* const imageDigest = (await bash(
|
const imageDigest = await bash(
|
||||||
`docker inspect --format='{{index .RepoDigests 0}}' ${pushTag}`
|
`docker inspect --format='{{index .RepoDigests 0}}' ${this.pushTag}`
|
||||||
)).split('@')[1]; */
|
);
|
||||||
|
console.log(imageDigest);
|
||||||
await this.npmciDockerManagerRef.npmciRef.cloudlyConnector.announceDockerContainer({
|
await this.npmciDockerManagerRef.npmciRef.cloudlyConnector.announceDockerContainer({
|
||||||
dockerImageUrl: this.pushTag,
|
dockerImageUrl: this.pushTag,
|
||||||
dockerImageVersion: this.npmciDockerManagerRef.npmciRef.npmciConfig.getConfig().projectInfo
|
dockerImageVersion: this.npmciDockerManagerRef.npmciRef.npmciConfig.getConfig().projectInfo
|
||||||
|
Loading…
Reference in New Issue
Block a user