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_GIT_LABELS= or BUILDX_GIT_LABELS=0 don't deactivate git labels #1340

Closed
dgageot opened this issue Oct 3, 2022 · 0 comments · Fixed by #1341
Closed

BUILDX_GIT_LABELS= or BUILDX_GIT_LABELS=0 don't deactivate git labels #1340

dgageot opened this issue Oct 3, 2022 · 0 comments · Fixed by #1341

Comments

@dgageot
Copy link
Member

dgageot commented Oct 3, 2022

I'm trying to deactivate the behaviour triggered by BUILDX_GIT_LABELS=1.
I though BUILDX_GIT_LABELS=0 or BUILDX_GIT_LABELS= would work but in fact only unset BUILDX_GIT_LABELS works.

I some contexts, it's hard to unset an env variable but very easy to set its value to 0 or empty string. E.g. when running docker buildx build with go's exec.Command()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants