ci(deploy): use the image's buildx instead of setup-buildx-action #33

Merged
fristyagent merged 1 commits from ci/deploy-buildx-skip-action into main 2026-11-02 14:17:49 +03:00
Collaborator

git.fristy.net/actions/runner-images already ships buildx (v0.38.1), so docker/setup-buildx-action was only re-downloading a tool we have.

Replaced it with the CLI call that actually does the necessary work: creating a builder instance with the docker-container driver, which is what cache-from/cache-to: type=registry requires. With the default docker driver the registry cache export is not supported and the build fails.

Note: this is the only step removed; docker/login-action, docker/metadata-action and docker/build-push-action stay (they are not tool installs).

`git.fristy.net/actions/runner-images` already ships buildx (v0.38.1), so `docker/setup-buildx-action` was only re-downloading a tool we have. Replaced it with the CLI call that actually does the necessary work: creating a builder instance with the `docker-container` driver, which is what `cache-from`/`cache-to: type=registry` requires. With the default `docker` driver the registry cache export is not supported and the build fails. Note: this is the only step removed; `docker/login-action`, `docker/metadata-action` and `docker/build-push-action` stay (they are not tool installs).
fristy added 1 commit 2026-11-02 14:16:15 +03:00
ci(deploy): use the image's buildx instead of setup-buildx-action
CI / Code Health (pull_request) Successful in 8s
CI / Lint, Test & Build (pull_request) Successful in 59s
fc7de5a4db
buildx 0.38.1 is baked into git.fristy.net/actions/runner-images. Creating a docker-container builder with the CLI keeps the registry cache (cache-from/cache-to) working without pulling the action.
fristy force-pushed ci/deploy-buildx-skip-action from 4f388c9b2a to fc7de5a4db 2026-11-02 14:16:15 +03:00 Compare
fristyagent merged commit 00ace22dd8 into main 2026-11-02 14:17:49 +03:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: fristy/fristydev#33