fix(core): update

This commit is contained in:
Philipp Kunz 2023-07-02 00:10:27 +02:00
parent 4b202ce00e
commit 79bed919d8
3 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@shipzone/npmci',
version: '4.1.19',
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)
}
/**