ci: use arch-scoped buildkit service (buildkit-<arch>) instead of per-instance
ci/woodpecker/push/container Pipeline was successful

This commit is contained in:
Oleks
2026-06-04 19:10:28 +03:00
parent 597f089c53
commit 7b60fe452e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -42,13 +42,13 @@ steps:
from_secret: registry_token
# In-cluster native arm64 buildkit (kotkan's arch). ci/local.sh treats
# this as a native remote builder and skips qemu emulation.
BUILDKIT_ADDR: "tcp://buildkit-rootless-arm64.infra.svc.cluster.local:1234"
BUILDKIT_ADDR: "tcp://buildkit-arm64.infra.svc.cluster.local:1234"
PUBLISH: "1"
commands:
- echo "▸ arch=$(uname -m)"
# Wait for the in-cluster buildkit to be reachable (it can be cold).
- |
BUILDER_HOST="buildkit-rootless-arm64.infra.svc.cluster.local"
BUILDER_HOST="buildkit-arm64.infra.svc.cluster.local"
BUILDER_PORT="1234"
echo "Waiting for buildkit at $BUILDER_HOST:$BUILDER_PORT..."
for i in $(seq 1 30); do
+1 -1
View File
@@ -16,7 +16,7 @@
# Builder is parameterized:
# BUILDKIT_ADDR default docker-container://local (dev: local buildkitd)
# CI overrides to the in-cluster native-arch remote, e.g.
# tcp://buildkit-rootless-arm64.infra.svc.cluster.local:1234
# tcp://buildkit-arm64.infra.svc.cluster.local:1234
#
# kotkan (the deploy target) is arm64, so the default target arch is arm64.
# Foreign-arch (an arch != the host) is emulated via qemu binfmt and is