Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9c8a257c2a | |||
| 8b77930ece | |||
| ba672d030f | |||
| 8ad7e016e7 | |||
| d843311d7b | |||
| 14ef2cfa9b | |||
| 648effcf86 |
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.1.46",
|
"version": "3.1.50",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@shipzone/npmci",
|
"name": "@shipzone/npmci",
|
||||||
"version": "3.1.46",
|
"version": "3.1.50",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "node and docker in gitlab ci on steroids",
|
"description": "node and docker in gitlab ci on steroids",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -269,11 +269,10 @@ 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');
|
const imageDigest = (await bash(
|
||||||
console.log(`docker inspect --format='{{index .RepoDigests 0}}' ${this.pushTag}`);
|
`docker inspect --format="{{index .RepoDigests 0}}" ${this.pushTag}`
|
||||||
/* const imageDigest = (await bash(
|
)).split('@')[1];
|
||||||
`docker inspect --format='{{index .RepoDigests 0}}' ${pushTag}`
|
console.log(`The image ${this.pushTag} has digest ${imageDigest}`);
|
||||||
)).split('@')[1]; */
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user