@docupace/pipeline 1.0.7-7.micro-cli7 → 1.0.7-7.micro-cli8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/micro/ms-deploy.js +3 -2
package/package.json
CHANGED
package/src/micro/ms-deploy.js
CHANGED
|
@@ -271,6 +271,7 @@ export async function microserviceBuildPushImage(repoName, options = {}) {
|
|
|
271
271
|
.split('-')
|
|
272
272
|
.pop()
|
|
273
273
|
.trim();
|
|
274
|
+
config.repoName = repoName;
|
|
274
275
|
const config = {
|
|
275
276
|
imageName: serviceName,
|
|
276
277
|
registryUrl: options.registryUrl || process.env.JF_REGISTRY_URL,
|
|
@@ -295,10 +296,10 @@ export async function microserviceBuildPushImage(repoName, options = {}) {
|
|
|
295
296
|
console.log(`Git SHA: ${gitSha}`);
|
|
296
297
|
console.log(`Build Number: ${config.buildNumber}`);
|
|
297
298
|
console.log(`Version Tag: ${config.tag || 'none'}`);
|
|
298
|
-
console.log(`Registry: ${config.registryUrl}/${
|
|
299
|
+
console.log(`Registry: ${config.registryUrl}/${repoName}`);
|
|
299
300
|
console.log('==========================================');
|
|
300
301
|
|
|
301
|
-
const registryPath = `${config.registryUrl}/${
|
|
302
|
+
const registryPath = `${config.registryUrl}/${repoName}`;
|
|
302
303
|
const SHA_IMAGE_NAME = `${config.imageName}:sha-${gitSha}`;
|
|
303
304
|
|
|
304
305
|
// Docker login
|