Compare commits

...

4 Commits

Author SHA1 Message Date
bce84a0e74 4.1.20 2023-07-02 00:10:28 +02:00
79bed919d8 fix(core): update 2023-07-02 00:10:27 +02:00
4b202ce00e 4.1.19 2023-07-01 22:09:54 +02:00
16ca787314 fix(core): update 2023-07-01 22:09:54 +02:00
5 changed files with 5 additions and 5 deletions

View File

@@ -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",

View File

@@ -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'
}

View File

@@ -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;

View File

@@ -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)
}
/**

View File

@@ -27,7 +27,7 @@ export interface INpmciOptions {
urlCloudly: string;
// cloudron
cloudronAppName: string;
cloudronAppName?: string;
}
/**