aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-23 17:17:13 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-23 17:19:56 -0500
commitfc187bccb5856b2d6dd3816fc69ffe0001aa615d (patch)
tree08983e9a48c8724c7607dc4deac48398b44212cb
parent6f41f11cc268faa09e8b4123bf0d995b5fb964e2 (diff)
downloadstasis-fc187bccb5856b2d6dd3816fc69ffe0001aa615d.tar.gz
Expose the docker registry address to template engine
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index fec1758..c5e4357 100644
--- a/src/main.c
+++ b/src/main.c
@@ -216,6 +216,7 @@ int main(int argc, char *argv[], char *arge[]) {
tpl_register("system.arch", &ctx.system.arch);
tpl_register("system.platform", &ctx.system.platform[DELIVERY_PLATFORM_RELEASE]);
tpl_register("deploy.repo", &globals.jfrog.repo);
+ tpl_register("docker.registry", &ctx.docker.registry);
// Set up PREFIX/etc directory information
// The user may manipulate the base directory path with OMC_SYSCONFDIR