update pull mechanism

This commit is contained in:
2017-08-28 02:43:43 +02:00
parent 3666b35ce0
commit 3a93feea26
2 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,7 @@ export class Dockerfile {
*/
async pull (registryArg: DockerRegistry, versionSuffixArg: string = null) {
let pullTag = helpers.getDockerTagString(registryArg.registryUrl,this.repo, this.version, versionSuffixArg)
await bash(`docker pull ${pullTag}`)
await bash(`docker tag ${pullTag} ${this.buildTag}`)
}