fix(core): update
This commit is contained in:
parent
d843311d7b
commit
8ad7e016e7
@ -270,9 +270,9 @@ export class Dockerfile {
|
|||||||
await bash(`docker tag ${this.buildTag} ${this.pushTag}`);
|
await bash(`docker tag ${this.buildTag} ${this.pushTag}`);
|
||||||
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}}' ${this.pushTag}`
|
`docker inspect --format="{{index .RepoDigests 0}}" ${this.pushTag}`
|
||||||
);
|
);
|
||||||
console.log(imageDigest);
|
console.log(imageDigest);
|
||||||
await this.npmciDockerManagerRef.npmciRef.cloudlyConnector.announceDockerContainer({
|
await this.npmciDockerManagerRef.npmciRef.cloudlyConnector.announceDockerContainer({
|
||||||
|
Loading…
Reference in New Issue
Block a user