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
This commit is contained in:
2026-07-12 12:47:17 -03:00
parent 39bdf82fac
commit 8689226ca6

View File

@@ -91,7 +91,7 @@ runs:
# instance* named remote-builder, not just a context. Create it from the # instance* named remote-builder, not just a context. Create it from the
# SSH context so it resolves to the remote engine over SSH. # SSH context so it resolves to the remote engine over SSH.
docker buildx rm -f remote-builder 2>/dev/null || true docker buildx rm -f remote-builder 2>/dev/null || true
docker buildx create --name remote-builder --context remote-builder --use docker buildx create --name remote-builder --use remote-builder
docker buildx inspect --bootstrap docker buildx inspect --bootstrap
- name: Generate tags list - name: Generate tags list