UNPKG

azure-bake

Version:

Azure cloud deployment platform for both infrasturcture as code and software

17 lines 846 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const azcli_npm_1 = require("azcli-npm"); let version = require('../package.json').version; let name = "bake"; let srcversion = "release"; let prefix = "homecarehomebase"; let shell = new azcli_npm_1.ShellRunner("docker").start(); shell.arg('tag').arg(name + ":" + srcversion).arg(prefix + "/" + name + ":" + version).exec(); shell = new azcli_npm_1.ShellRunner("docker").start(); shell.arg('tag').arg(name + ":" + srcversion).arg(prefix + "/" + name + ":latest").exec(); shell = new azcli_npm_1.ShellRunner("docker").start(); shell.arg('push').arg(prefix + "/" + name + ":latest").exec(); shell = new azcli_npm_1.ShellRunner("docker").start(); shell.arg('push').arg(prefix + "/" + name + ":" + version).exec(); //# sourceMappingURL=dockertag.js.map