GHCR images are pullable now, but the documented install path skips two of them

Open Beginner friendly
#812 2 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, docker-compose, go

Research direction

Start by reading the quick start and GHCR instructions in README.md alongside docker-compose.ghcr.yml and .env.example. Check the documented pull command, runner token setup, publication status, and image tag default against the compose configuration; update the affected instructions and examples. Done when a clean install following the README can pull all required images and start with a generated runner token.

Written by the indexing model from the issue text.

Description

bug P2

Follow-up to #485, which was closed as fixed. The publication half is confirmed: all four packages answer an anonymous token request, carry 0.7.1, v0.7.1 and latest (same digest per package), and their manifests are linux/amd64 + linux/arm64. docker pull ghcr.io/baarai/artex:0.7.1 works from a Docker config without GHCR credentials, and the --profile build-only images pull the same way.

What is still broken is the documented install path. On main @ 8f91643 (v0.7.1 released), a clean machine following the README gets an incomplete stack or stops before it starts.

1. The documented compose pull does not fetch two of the four images

docker-compose.ghcr.yml runs the panel and runner from GHCR, but artex-worker and artex-egress-proxy are behind profiles: ["build-only"] (docker-compose.ghcr.yml:123, :127). A plain pull skips them:

$ docker compose -f docker-compose.ghcr.yml pull
# pulls postgres:16-alpine, ghcr.io/baarai/artex:0.7.1, ghcr.io/baarai/artex-runner:0.7.1
$ docker images --format '{{.Repository}}:{{.Tag}}' | grep 'baarai/artex'
ghcr.io/baarai/artex:0.7.1
ghcr.io/baarai/artex-runner:0.7.1

The runner is configured to instantiate ghcr.io/baarai/artex-worker:0.7.1 and ghcr.io/baarai/artex-egress-proxy:0.7.1 (docker-compose.ghcr.yml:104-105), and sandbox/docker.go creates the containers directly with no pull fallback. So the stack reports healthy, then the first agent command fails on a missing image. The --profile build-only pull flag is only documented in the sandbox section (README.md:1223), not in the quick start that most people follow.

2. cp .env.example .env is not enough to start

The compose files require the runner token with :? (docker-compose.ghcr.yml:85, :103), but .env.example:22 ships it empty, and the quick start does not say to generate it:

$ cp .env.example .env && docker compose -f docker-compose.ghcr.yml pull
error while interpolating services.artex.environment.ARTEX_RUNNER_TOKEN: required variable ARTEX_RUNNER_TOKEN is missing a value: Please set ARTEX_RUNNER_TOKEN in .env

Same on docker-compose.yml. With ARTEX_RUNNER_TOKEN=$(openssl rand -hex 32) the stack comes up and GET / and /setup return 200, so the token is the only blocker.

3. The docs still say the image is not published

These are now false and tell users to avoid the working path:

  • README.md:71 — "from the next tagged release; v0.7.0 predates the publish step"
  • README.md:388-390 — "there is no artex package yet ... will fail with denied"
  • README.md:435 — "The image is not published yet"
  • docker-compose.ghcr.yml:7-10 — "the pull above fails with "denied" until then"
4. Tag default is described backwards

README.md:455 says ARTEX_IMAGE_TAG unset uses latest, but the compose files default to 0.7.1 (docker-compose.ghcr.yml:34, :95, :122, :126). The docker pull ...:latest example at README.md:402 and :751 also contradicts the pinned default.

Suggested fix
  • Add --profile build-only pull to the quick start (or drop the profiles and let a plain pull fetch all four), and mention that the worker/egress images are needed before the first task.
  • Show ARTEX_RUNNER_TOKEN=$(openssl rand -hex 32) in .env in the quick start, or make .env.example self-explanatory.
  • Remove the "not published yet / denied" paragraphs from the README and the compose header.
  • Align the tag text and examples with the 0.7.1 default, keeping latest as the explicit opt-in.

Environment: Docker Engine 29.9.2 + compose v2, Linux amd64, no GHCR credentials in the Docker config, main @ 8f91643.

I can send a PR for the docs and compose changes if you want them.

Dominant language
Go
Stars
18.7k
Forks
7k
Avg merge
10h 57m
Merged PRs (30d)
494

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BaaRai/ARTEX

All issues in BaaRai/ARTEX

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.