Compare commits

...

2 Commits

Author SHA1 Message Date
11c0341c76 2.1.46 2016-06-07 14:45:42 +02:00
4bc86ad7b8 now more efficiently retagging image during release stage 2016-06-07 14:45:27 +02:00
3 changed files with 4 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "npmci",
"version": "2.1.45",
"version": "2.1.46",
"description": "",
"main": "dist/index.js",
"bin": {

View File

@@ -184,13 +184,11 @@ export class Dockerfile {
}
};
release(){
bashBare("docker tag " + this.getId() + " " + this.releaseTag);
bashBare("docker tag " + this.buildTag + " " + this.releaseTag);
bashBare("docker push " + this.releaseTag);
}
getId(){
console.log("docker inspect --type=image --format=\"{{.Id}}\" " + this.buildTag);
let containerId = bashBare("docker inspect --type=image --format=\"{{.Id}}\" " + this.buildTag);
console.log(containerId);
return containerId;
};
patchContents(){