bug: generator emits ghcr.io/disinto/agents image ref but no registry pull is configured #853
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#853
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
lib/generators.sh(in_generate_local_model_services) emits:for every hired agent. The running deployment has no credentials for
ghcr.io/disinto/agents, and the repo is not public.docker compose upfails with:Locally built images are named
disinto/agents:latest(no registry prefix). The legacy hardcodedagents-llamacompose stanza uses the local name and works. Only the new TOML-driven services emit the ghcr path.Repro
disinto hire-an-agent dev-qwen2 dev --local-model <url> --model <name>docker compose --profile agents-dev-qwen2 up -d agents-dev-qwen2denied.Temporary workaround (applied today to unblock dev-qwen2):
docker tag disinto/agents:latest ghcr.io/disinto/agents:latest.Fix options
image: disinto/agents:${DISINTO_IMAGE_TAG:-latest}and drop the ghcr prefix. Simplest, matches legacy stanza and whatdisinto init --buildalready produces.build:directive — emit bothimage:andbuild: { context: ., dockerfile: docker/agents/Dockerfile }sodocker compose buildrebuilds locally when pull fails. Matches pattern used by the other hardcoded services in the repo.Option 1 is the minimal fix; option 2 is more robust across dev and CI environments. Probably want both: local image ref + build: fallback.
Acceptance
docker compose --profile agents-<name> up -d agents-<name>succeeds on a host that built images locally (no ghcr auth configured)disinto init --build+ hire-an-agent + up works end-to-end without manualdocker tagAffected files
lib/generators.sh—_generate_local_model_services,image:line (and optionallybuild:block)Context
Caught while bringing up dev-qwen2. Blocked startup until workaround applied. dev-qwen's agents-llama container dodged this because it comes from the legacy hardcoded stanza with the local image ref.