Skip to content

Force a fresh image pull on every run - #17

Merged
satsura merged 1 commit into
mainfrom
fix/force-image-pull
Aug 10, 2026
Merged

Force a fresh image pull on every run#17
satsura merged 1 commit into
mainfrom
fix/force-image-pull

Conversation

@satsura

@satsura satsura commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Self-hosted runners keep a persistent Docker cache. docker run image:latest only pulls when the image is absent locally — an already-cached :latest is reused forever, registry updates or not.

Found live: after the API-key auth release (#16), sportsid-inc's self-hosted runners kept 404ing on upload — turned out they were still running the pre-#16 binary, silently ignoring the new K_API_URL/K_API_KEY/K_PROJECT_ID env vars and falling through to a stale legacy URL. GitHub-hosted runners never hit this (always a fresh VM, always a fresh pull) — only self-hosted ones do, which is most of the fleet.

Fix: docker run --pull always.

Test plan

  • Trivial YAML change, no logic touched
  • After merge: re-run a previously-failing self-hosted job and confirm the new auth path is actually exercised

Self-hosted runners keep a persistent Docker cache, so a bare
`docker run image:latest` silently reuses whatever's on disk and
never checks the registry. Found live: the API-key auth release
never reached sportsid-inc's self-hosted runners because of this.
@satsura
satsura merged commit d7b35a7 into main Aug 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant