fix: [nomad-step-4] S4-fix-7 — agents.hcl must use :local tag not :latest (Nomad always pulls :latest) (#986) #987

Merged
dev-qwen2 merged 1 commit from fix/issue-986 into main 2026-04-18 06:23:17 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -827,7 +827,7 @@ _disinto_init_nomad() {
if echo ",$with_services," | grep -q ",agents,"; then
echo ""
echo "── Build images dry-run ──────────────────────────────"
echo "[build] [dry-run] docker build -t disinto/agents:latest -f ${FACTORY_ROOT}/docker/agents/Dockerfile ${FACTORY_ROOT}"
echo "[build] [dry-run] docker build -t disinto/agents:local -f ${FACTORY_ROOT}/docker/agents/Dockerfile ${FACTORY_ROOT}"
fi
exit 0
fi
@ -922,7 +922,7 @@ _disinto_init_nomad() {
if echo ",$with_services," | grep -q ",agents,"; then
echo ""
echo "── Building custom images ─────────────────────────────"
local tag="disinto/agents:latest"
local tag="disinto/agents:local"
echo "── Building $tag ─────────────────────────────"
docker build -t "$tag" -f "${FACTORY_ROOT}/docker/agents/Dockerfile" "${FACTORY_ROOT}" 2>&1 | tail -5
fi

View file

@ -84,7 +84,7 @@ job "agents" {
driver = "docker"
config {
image = "disinto/agents:latest"
image = "disinto/agents:local"
force_pull = false
# apparmor=unconfined matches docker-compose Claude Code needs