Merge pull request 'fix: [nomad-step-4] S4-fix-7 — agents.hcl must use :local tag not :latest (Nomad always pulls :latest) (#986)' (#987) from fix/issue-986 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-18 06:23:16 +00:00
commit daaaf70d34
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 if echo ",$with_services," | grep -q ",agents,"; then
echo "" echo ""
echo "── Build images dry-run ──────────────────────────────" 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 fi
exit 0 exit 0
fi fi
@ -922,7 +922,7 @@ _disinto_init_nomad() {
if echo ",$with_services," | grep -q ",agents,"; then if echo ",$with_services," | grep -q ",agents,"; then
echo "" echo ""
echo "── Building custom images ─────────────────────────────" echo "── Building custom images ─────────────────────────────"
local tag="disinto/agents:latest" local tag="disinto/agents:local"
echo "── Building $tag ─────────────────────────────" echo "── Building $tag ─────────────────────────────"
docker build -t "$tag" -f "${FACTORY_ROOT}/docker/agents/Dockerfile" "${FACTORY_ROOT}" 2>&1 | tail -5 docker build -t "$tag" -f "${FACTORY_ROOT}/docker/agents/Dockerfile" "${FACTORY_ROOT}" 2>&1 | tail -5
fi fi

View file

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