Skip to content

Commit 90bb6f8

Browse files
author
Simon Emms
committed
Add the additional images to the werft build
1 parent f8051fb commit 90bb6f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.werft/jobs/build/publish-kots-unstable.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ export async function publishKotsUnstable(werft: Werft, config: JobConfig) {
2121
// Set the tag to the current version
2222
exec(`yq w -i ${REPLICATED_YAML_DIR}/gitpod-installer-job.yaml ${INSTALLER_JOB_IMAGE} ${image}:${config.version}`);
2323

24+
// Update the additionalImages in the kots-app.yaml
25+
exec(`/tmp/installer mirror kots --file ${REPLICATED_YAML_DIR}/kots-app.yaml`);
26+
2427
const app = exec(`kubectl get secret ${REPLICATED_SECRET} --namespace werft -o jsonpath='{.data.app}' | base64 -d`);
2528
const token = exec(`kubectl get secret ${REPLICATED_SECRET} --namespace werft -o jsonpath='{.data.token}' | base64 -d`);
2629

0 commit comments

Comments
 (0)