fix test command for docker
This commit is contained in:
parent
3ac486312e
commit
d98d8e9667
5
dist/npmci.build.docker.js
vendored
5
dist/npmci.build.docker.js
vendored
File diff suppressed because one or more lines are too long
@ -172,8 +172,7 @@ export class Dockerfile {
|
|||||||
|
|
||||||
bashBare("docker run -v " +
|
bashBare("docker run -v " +
|
||||||
plugins.path.join(paths.NpmciProjectDir,"./test") + ":/test/ " +
|
plugins.path.join(paths.NpmciProjectDir,"./test") + ":/test/ " +
|
||||||
"--name " + this.containerName);
|
"--name " + this.containerName + " /test/" + "test_" + this.version);
|
||||||
bashBare("docker stop /" + this.containerName);
|
|
||||||
};
|
};
|
||||||
release(){
|
release(){
|
||||||
bashBare("docker tag " + this.getId() + " " + this.releaseTag);
|
bashBare("docker tag " + this.getId() + " " + this.releaseTag);
|
||||||
|
Loading…
Reference in New Issue
Block a user