fix: [nomad-step-4] S4-fix-7 — agents.hcl must use :local tag not :latest (Nomad always pulls :latest) (#986)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/secret-scan Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-18 06:11:33 +00:00
parent 8c7b26f916
commit 4a07049383
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