From ab0a6be41fb86eb9b20064fea19716575df53f53 Mon Sep 17 00:00:00 2001 From: Agent Date: Fri, 17 Apr 2026 14:58:10 +0000 Subject: [PATCH] fix: use Nomad interpolation syntax for WOODPECKER_SERVER --- nomad/jobs/woodpecker-agent.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad/jobs/woodpecker-agent.hcl b/nomad/jobs/woodpecker-agent.hcl index f753818..c7779a2 100644 --- a/nomad/jobs/woodpecker-agent.hcl +++ b/nomad/jobs/woodpecker-agent.hcl @@ -89,7 +89,7 @@ job "woodpecker-agent" { # Nomad's port stanza to the allocation's IP (not localhost), so the # agent must use the LXC's eth0 IP, not 127.0.0.1. env { - WOODPECKER_SERVER = "{{ env \"attr.unique.network.ip-address\" }}:9000" + WOODPECKER_SERVER = "${attr.unique.network.ip-address}:9000" WOODPECKER_GRPC_SECURE = "false" WOODPECKER_MAX_WORKFLOWS = "1" WOODPECKER_HEALTHCHECK_ADDR = ":3333"