From 244f6bc35431eecd782f43b63204ad8451f8e3fd Mon Sep 17 00:00:00 2001 From: wizzdom Date: Fri, 15 Dec 2023 23:09:06 +0000 Subject: [PATCH] fix typo --- jobs/dcusr.hcl | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jobs/dcusr.hcl b/jobs/dcusr.hcl index 29958d3..e99d87a 100644 --- a/jobs/dcusr.hcl +++ b/jobs/dcusr.hcl @@ -38,10 +38,19 @@ job "dcusr" { image = "ghcr.io/dcu-solar-racing/nextjs-website:main" ports = ["http"] auth { - username = {{ key "dcusr/ghcr/username" }} - password = {{ key "dcusr/ghcr/password" }} + username = "${DOCKER_USER}" + password = "${DOCKER_PASS}" } } + template { + destination = "secrets/secret.env" + env = true + change_mode = "restart" + data = <