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",
|
"name": "npmci",
|
||||||
"version": "2.1.45",
|
"version": "2.1.46",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -184,13 +184,11 @@ export class Dockerfile {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
release(){
|
release(){
|
||||||
bashBare("docker tag " + this.getId() + " " + this.releaseTag);
|
bashBare("docker tag " + this.buildTag + " " + this.releaseTag);
|
||||||
bashBare("docker push " + this.releaseTag);
|
bashBare("docker push " + this.releaseTag);
|
||||||
}
|
}
|
||||||
getId(){
|
getId(){
|
||||||
console.log("docker inspect --type=image --format=\"{{.Id}}\" " + this.buildTag);
|
|
||||||
let containerId = bashBare("docker inspect --type=image --format=\"{{.Id}}\" " + this.buildTag);
|
let containerId = bashBare("docker inspect --type=image --format=\"{{.Id}}\" " + this.buildTag);
|
||||||
console.log(containerId);
|
|
||||||
return containerId;
|
return containerId;
|
||||||
};
|
};
|
||||||
patchContents(){
|
patchContents(){
|
||||||
|
|||||||
Reference in New Issue
Block a user