dist: trusty sudo: required install: - docker run --name buildkit --rm -d --privileged -p 1234:1234 $REPO_SLUG_ORIGIN --addr tcp://0.0.0.0:1234 - sudo docker cp buildkit:/usr/bin/buildctl /usr/bin/ - export BUILDKIT_HOST=tcp://0.0.0.0:1234 env: global: - PLATFORMS="linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le" - PREFER_BUILDCTL="1" script: - make binaries validate-all && TARGETPLATFORM="${PLATFORMS},darwin/amd64,windows/amd64" ./hack/cross