mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-02-11 05:59:23 -06:00
fix: update deployment version handling to use env variable QS_VERSION
This commit is contained in:
2
.github/workflows/canary-release.yml
vendored
2
.github/workflows/canary-release.yml
vendored
@@ -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: |
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user