Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildx: remove "-docker" suffix from version #552

Closed
wants to merge 1 commit into from

Conversation

thaJeztah
Copy link
Member

When building the CLI plugin, we were adding a "-docker" suffix. It's a bit
unclear if there was a specific reason for this (possibly to differentiate
between builds from GitHub and builds that are part of the CLI?

Initially, the version had a -tp-docker prefix (where -tp was used to
indicate it was still experimental); this prefix was removed in commit
0b45cce (#490)

/usr/libexec/docker/cli-plugins/docker-buildx docker-cli-plugin-metadata
{
     "SchemaVersion": "0.1.0",
     "Vendor": "Docker Inc.",
     "Version": "v0.5.1-docker",
     "ShortDescription": "Build with BuildKit"
}

This patch removes the -docker suffix from the version string.

When building the CLI plugin, we were adding a "-docker" suffix. It's a bit
unclear if there was a specific reason for this (possibly to differentiate
between builds from GitHub and builds that are part of the CLI?

Initially, the version had a `-tp-docker` prefix (where `-tp` was used to
indicate it was still experimental); this prefix was removed in commit
0b45cce

    /usr/libexec/docker/cli-plugins/docker-buildx docker-cli-plugin-metadata
    {
         "SchemaVersion": "0.1.0",
         "Vendor": "Docker Inc.",
         "Version": "v0.5.1-docker",
         "ShortDescription": "Build with BuildKit"
    }

This patch removes the `-docker` suffix from the version string.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
Member Author

@tonistiigi @chris-crone PTAL

@chris-crone
Copy link
Member

SGTM but maybe @tonistiigi has context that I don't

@tonistiigi
Copy link
Member

It was added to determine the releases that required experimental to be turned on. Github releases of Buildx never required it. Maybe we should keep this until the builds here do not build with the Dockerfile from the upstream repo and define their own build scripts so if there is an issue reported we can see what script made the binary.

@thaJeztah
Copy link
Member Author

Superseded by #654, which also removed the suffix

@thaJeztah thaJeztah closed this May 19, 2022
@thaJeztah thaJeztah deleted the remove_buildx_suffix branch May 19, 2022 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants