Lint fixes in preparation of https://github.com/pulumi/ci-mgmt/pull/2024.
This brings over the initial buildx prototype from pulumi/pulumi-docker and fixes various build and release issues.