Skip to content

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

Closed

Description

@dgageot

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()

Activity

  1. added
    kind/enhancement
    and removed
    kind/enhancement
    on Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions