chore(ci): clear stale builder image before docker check (BUNYIP-231) #259

Merged
vas2000-work merged 1 commit from chore/checks-workflow-9c0ac500 into main 2026-06-28 00:52:41 +02:00
Member

The check.yml "Docker builder stage" step builds the api image's builder
target and tags it bunyip-api-builder:check. On the persistent runner the
image store is reused between jobs, and buildkit's exporter refuses to
overwrite an existing tag, so the second and later runs failed with
image "docker.io/library/bunyip-api-builder:check": already exists even
though fmt, clippy, build, and tests all passed.

Drop any builder image a prior run left behind before rebuilding, mirroring
the docker image rm cleanup the justfile's dev-clean-all recipe already
uses for the same tag. The || true keeps the first run (tag absent) green.

#BUNYIP-231

The check.yml "Docker builder stage" step builds the api image's builder target and tags it `bunyip-api-builder:check`. On the persistent runner the image store is reused between jobs, and buildkit's exporter refuses to overwrite an existing tag, so the second and later runs failed with `image "docker.io/library/bunyip-api-builder:check": already exists` even though fmt, clippy, build, and tests all passed. Drop any builder image a prior run left behind before rebuilding, mirroring the `docker image rm` cleanup the justfile's `dev-clean-all` recipe already uses for the same tag. The `|| true` keeps the first run (tag absent) green. #BUNYIP-231
chore(ci): clear stale builder image before docker check (BUNYIP-231)
All checks were successful
E2E / Playwright against deployment (pull_request) Successful in 48s
Check / fmt + clippy + build + tests (pull_request) Successful in 30m36s
Create release / Create release from merged PR (pull_request) Has been skipped
d141276e4f
The check.yml "Docker builder stage" step builds the api image's builder
target and tags it `bunyip-api-builder:check`. On the persistent runner the
image store is reused between jobs, and buildkit's exporter refuses to
overwrite an existing tag, so the second and later runs failed with
`image "docker.io/library/bunyip-api-builder:check": already exists` even
though fmt, clippy, build, and tests all passed.

Drop any builder image a prior run left behind before rebuilding, mirroring
the `docker image rm` cleanup the justfile's `dev-clean-all` recipe already
uses for the same tag. The `|| true` keeps the first run (tag absent) green.

#BUNYIP-231
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/bunyip!259
No description provided.