fix: [nomad-step-4] S4-fix-7 — agents.hcl must use :local tag not :latest (Nomad always pulls :latest) (#986) #987
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue