Commit Graph

7 Commits

Author SHA1 Message Date
57e25a8fef fix(build-and-push): create buildx builder from SSH endpoint, drop colliding context
buildx refuses a builder instance whose name matches an existing docker
context. Create the builder directly from the ssh:// endpoint and clean up
any leftover context/builder of the same name first (idempotent re-runs).
2026-07-12 12:51:48 -03:00
8689226ca6 fix(build-and-push): pass docker context as positional arg to buildx create
--context is not supported on this buildx version; the context name is a
positional [CONTEXT|ENDPOINT] argument
2026-07-12 12:47:17 -03:00
39bdf82fac fix(build-and-push): stop DOCKER_HOST overriding remote-builder context
- DOCKER_HOST env var was set to the builder hostname, which Docker treats
  as tcp://host:2375 and which overrides the active docker context, so the
  SSH remote-builder context was ignored (Cannot connect to tcp://docker-build.haven:2375)
- context endpoint used a literal ssh://***@ instead of the docker_user input
- create an actual buildx builder instance named remote-builder (build-push-action
  needs a builder instance, not just a context)
2026-07-12 12:38:33 -03:00
740cbef5c1 feat: add composite action to build and push multi-arch images via remote Docker builder 2026-07-10 18:14:43 -03:00
ea92f3e55d feat: add build-and-push and ssh-deploy composite actions with image tagging support 2026-07-10 18:10:30 -03:00
e098b7e0c5 adding image tag 2026-07-10 17:48:15 -03:00
5c11a6cf44 feat: reusable build-and-push and deploy-restart composite actions
- build-and-push: multi-arch Docker build via remote Buildx builder over SSH
- deploy-restart: kubectl rollout restart with kubeconfig validation
- README with usage examples and required secrets
2026-07-08 19:57:15 -03:00