mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-01 22:39:26 +02:00
fix(System): ensure nomad container image tag resolves correctly
This commit is contained in:
parent
0bc53727f3
commit
64e3ad52f8
|
|
@ -36,7 +36,7 @@ export class SystemUpdateService {
|
||||||
const requestData = {
|
const requestData = {
|
||||||
requested_at: new Date().toISOString(),
|
requested_at: new Date().toISOString(),
|
||||||
requester: 'admin-api',
|
requester: 'admin-api',
|
||||||
target_tag: latestVersion || 'latest', // We should always have a latest version, but fallback to 'latest' just in case
|
target_tag: latestVersion ? `v${latestVersion}` : 'latest',
|
||||||
}
|
}
|
||||||
|
|
||||||
await writeFile(SystemUpdateService.REQUEST_FILE, JSON.stringify(requestData, null, 2))
|
await writeFile(SystemUpdateService.REQUEST_FILE, JSON.stringify(requestData, null, 2))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user