polyci 0.0.14 → 0.0.16
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/dist/main.js +2 -4
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -329,12 +329,10 @@ function appendModulePublishJob(lines, module) {
|
|
|
329
329
|
lines.push(` MODULE_PATH: ${module.modulePath}`);
|
|
330
330
|
lines.push(` MODULE_TYPE: ${module.moduleType}`);
|
|
331
331
|
lines.push(` script:`);
|
|
332
|
-
lines.push(` - cp
|
|
332
|
+
lines.push(` - cp ci/$MODULE_TYPE/Dockerfile $MODULE_PATH`);
|
|
333
333
|
lines.push(` - cd $MODULE_PATH`);
|
|
334
|
-
lines.push(` - cat deploy.env`);
|
|
335
334
|
lines.push(` - source deploy.env`);
|
|
336
|
-
lines.push(` -
|
|
337
|
-
lines.push(` - cp ci/$MODULE_TYPE/Dockerfile .`);
|
|
335
|
+
lines.push(` - echo -n $CI_JOB_TOKEN | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY`);
|
|
338
336
|
lines.push(` - docker build --tag $CI_REGISTRY_IMAGE/$MODULE_NAME:v$INSTANCE_VERSION .`);
|
|
339
337
|
lines.push(` - docker push $CI_REGISTRY_IMAGE/$MODULE_NAME:v$INSTANCE_VERSION`);
|
|
340
338
|
lines.push(` artifacts:`);
|