mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-07 20:00:25 +00:00
Use the registry endpoint from config, not environment
This commit is contained in:
parent
3c5e856ef2
commit
a10f118ab9
@ -203,7 +203,7 @@ exports.update = update = ->
|
|||||||
return {
|
return {
|
||||||
appId: '' + app.id
|
appId: '' + app.id
|
||||||
commit: app.commit
|
commit: app.commit
|
||||||
imageId: "#{process.env.REGISTRY_ENDPOINT}/#{path.basename(app.git_repository, '.git')}/#{app.commit}"
|
imageId: "#{config.registryEndpoint}/#{path.basename(app.git_repository, '.git')}/#{app.commit}"
|
||||||
env: JSON.stringify(env) # The env has to be stored as a JSON string for knex
|
env: JSON.stringify(env) # The env has to be stored as a JSON string for knex
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user