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