fix: update deployment version handling to use env variable QS_VERSION

This commit is contained in:
biersoeckli
2025-02-07 14:07:18 +00:00
parent 076b491cab
commit 99dabd73e0
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ jobs:
with:
context: ./
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64 #,linux/arm64
build-args: |
VERSION_ARG=canary-${{ github.run_number }}
tags: |

View File

@@ -28,7 +28,7 @@ class QuickStackService {
await namespaceService.createNamespaceIfNotExists(this.QUICKSTACK_NAMESPACE)
const nextAuthSecret = await this.deleteExistingDeployment();
await this.createOrUpdatePvc();
await this.createOrUpdateDeployment(nextAuthSecret, process.env.VERSION_ARG?.includes('canary') ? 'canary' : 'latest');
await this.createOrUpdateDeployment(nextAuthSecret, process.env.QS_VERSION?.includes('canary') ? 'canary' : 'latest');
await this.createOrUpdateService(true);
await this.waitUntilQuickstackIsRunning();
console.log('QuickStack successfully initialized');