Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 11c0341c76 | |||
| 4bc86ad7b8 |
6
dist/npmci.build.docker.js
vendored
6
dist/npmci.build.docker.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "npmci",
|
||||
"version": "2.1.45",
|
||||
"version": "2.1.46",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"bin": {
|
||||
|
||||
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user