Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bce84a0e74 | |||
| 79bed919d8 | |||
| 4b202ce00e | |||
| 16ca787314 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@shipzone/npmci",
|
||||
"version": "4.1.18",
|
||||
"version": "4.1.20",
|
||||
"private": false,
|
||||
"description": "node and docker in gitlab ci on steroids",
|
||||
"main": "dist_ts/index.js",
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@shipzone/npmci',
|
||||
version: '4.1.18',
|
||||
version: '4.1.20',
|
||||
description: 'node and docker in gitlab ci on steroids'
|
||||
}
|
||||
|
||||
@@ -48,8 +48,7 @@ export class NpmciCloudronManager {
|
||||
logger.log('ok', 'CloudronManifest prepared');
|
||||
|
||||
// lets figure out the docker image tag
|
||||
const dockerfiles = await this.npmciRef.dockerManager.getDockerfiles();
|
||||
const dockerImageTag = dockerfiles[0].pushTag;
|
||||
const dockerImageTag = await this.npmciRef.npmciConfig.kvStorage.readKey('latestPushedDockerTag');
|
||||
const appName = this.npmciRef.npmciConfig.getConfig().cloudronAppName;
|
||||
|
||||
const cloudronEnvVar = process.env.NPMCI_LOGIN_CLOUDRON;
|
||||
|
||||
@@ -285,6 +285,7 @@ export class Dockerfile {
|
||||
labels: [],
|
||||
version: this.npmciDockerManagerRef.npmciRef.npmciConfig.getConfig().projectInfo.npm.version,
|
||||
});
|
||||
await this.npmciDockerManagerRef.npmciRef.npmciConfig.kvStorage.writeKey('latestPushedDockerTag', this.pushTag)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,7 +27,7 @@ export interface INpmciOptions {
|
||||
urlCloudly: string;
|
||||
|
||||
// cloudron
|
||||
cloudronAppName: string;
|
||||
cloudronAppName?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user