Skip to content

Stop tagging the differ image :latest - #471

Merged
JonJagger merged 1 commit into
mainfrom
drop-the-differ-latest-tag
Sep 4, 2026
Merged

JonJagger merged 1 commit into
mainfrom
drop-the-differ-latest-tag

Conversation

@JonJagger

Copy link
Copy Markdown
Member

Nothing reads it. docker-compose.yml names the image by
${CYBER_DOJO_DIFFER_IMAGE}:${CYBER_DOJO_DIFFER_TAG}, the short sha, and no
sibling repo names cyberdojo/differ:latest. Nothing passes it as cache_from
either, so the comments calling it the image-layer build cache described
nothing.

Keeping it had a cost. remove_all_but_current exempted :latest, so the build
it last pointed at survived every later build's cleanup, and the tag moving
to each new build left the previous image behind untagged. Removing the
exemption lets those go, and this build stays protected by its own sha tag,
which is what names it everywhere.

cyberdojo/differ: stays: local development names the differ image with
the dockerhub name the versioner env-vars carry rather than the ECR one.

  Nothing reads it. docker-compose.yml names the image by
  ${CYBER_DOJO_DIFFER_IMAGE}:${CYBER_DOJO_DIFFER_TAG}, the short sha, and no
  sibling repo names cyberdojo/differ:latest. Nothing passes it as cache_from
  either, so the comments calling it the image-layer build cache described
  nothing.

  Keeping it had a cost. remove_all_but_current exempted :latest, so the build
  it last pointed at survived every later build's cleanup, and the tag moving
  to each new build left the previous image behind untagged. Removing the
  exemption lets those go, and this build stays protected by its own sha tag,
  which is what names it everywhere.

  cyberdojo/differ:<sha> stays: local development names the differ image with
  the dockerhub name the versioner env-vars carry rather than the ECR one.
@JonJagger
JonJagger merged commit 403734b into main Sep 4, 2026
13 checks passed
@JonJagger
JonJagger deleted the drop-the-differ-latest-tag branch September 4, 2026 05:01
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.

2 participants