Merge pull request #81 from tiborvass/experimental

Allow Docker to ship buildx guarded by the experimental flag
pull/83/head
Tibor Vass 6 years ago committed by GitHub
commit 4e61674ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,6 +16,8 @@ import (
_ "github.com/docker/buildx/driver/docker-container"
)
var experimental string
func main() {
if os.Getenv("DOCKER_CLI_PLUGIN_ORIGINAL_CLI_COMMAND") == "" {
if len(os.Args) < 2 || os.Args[1] != manager.MetadataSubcommandName {
@ -41,5 +43,6 @@ func main() {
SchemaVersion: "0.1.0",
Vendor: "Docker Inc.",
Version: version.Version,
Experimental: experimental != "",
})
}

Loading…
Cancel
Save