Skip to content

Rewrite Docker aspects of CI#1192

Merged
shepmaster merged 1 commit intomainfrom
rewrite-docker-ci
Feb 16, 2026
Merged

Rewrite Docker aspects of CI#1192
shepmaster merged 1 commit intomainfrom
rewrite-docker-ci

Conversation

@shepmaster
Copy link
Copy Markdown
Member

A recent GHA change updated to Docker 29, which causes build failures when we download / retag / push the image:

image with reference ghcr.io/integer32llc/rust-playground-ci-rust-beta:latest was found but does not provide the specified platform (linux/amd64)

I don't actually know what the deal is here, but I see that Docker 29 made changes to default container formats and started pushing multiple aspects of the image, including some attestation metadata as the platform unknown/unknown.

My suspicion is that GHCR does not support this fully, so when we pull and push, something is lost and it's trying to push the attestation metadata which fails.

To work around this, we can change the build process so that we always use docker/build-push-action, which does something different and works. We rely on the build caching so that "rebuilding" in multiple jobs is still fast.

A recent [GHA change][] updated to Docker 29, which causes build
failures when we download / retag / push the image:

```
image with reference ghcr.io/integer32llc/rust-playground-ci-rust-beta:latest was found but does not provide the specified platform (linux/amd64)
```

I don't actually know what the deal is here, but I see that Docker 29
made changes to default container formats and started pushing multiple
aspects of the image, including some attestation metadata as the
platform `unknown/unknown`.

My suspicion is that GHCR does not support this fully, so when we pull
and push, something is lost and it's trying to push the attestation
metadata which fails.

To work around this, we can change the build process so that we always
use `docker/build-push-action`, which does *something* different and
works. We rely on the build caching so that "rebuilding" in multiple
jobs is still fast.

[GHA change]: actions/runner-images#13474
@shepmaster shepmaster added the maintenance Keeping the wheels turning label Feb 16, 2026
@shepmaster shepmaster merged commit f5754a2 into main Feb 16, 2026
13 checks passed
@shepmaster shepmaster deleted the rewrite-docker-ci branch February 16, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Keeping the wheels turning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant