add docker tag push

This commit is contained in:
Philipp Kunz 2016-06-03 16:26:28 +02:00
parent e1245f24ce
commit 27cb433c82

View File

@ -2,6 +2,7 @@ import "typings-global";
import * as plugins from "./npmci.plugins";
import {prepare} from "./npmci.prepare";
import {bash} from "./npmci.bash";
import * as env from "./npmci.env";
export let publish = (serviceArg:string = "npm") => {
switch (serviceArg){
@ -28,7 +29,7 @@ let publishDocker = function(){
prepare("docker")
.then(function(){
bash
bash("docker push ");
bash("docker push " + env.dockerTag());
done.resolve();
});
return done.promise;