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 = <