Skip to content

buildx build writes to stderr, even when successful #802

@lukewis

Description

@lukewis

Expected behavior

buildx should not write to stderr during a successful build

Steps to reproduce

I'm using Azure Pipelines to build images using buildx. Azure Pipelines has a property to fail the build if a step writes to stderr.

trigger:
  - main
  - develop

pool:
  vmImage: ubuntu-latest

stages:
- stage: Build
  jobs:
  - job: BuildDocker
    steps:
    - task: Docker@2
      displayName: Docker Login
      inputs:
        containerRegistry: 'DockerHub'
        command: 'login'
        addPipelineData: false
        addBaseImageData: false

    - script: ./build.sh
      displayName: Build & Push Image
      # buildx writes to stderr
      # failOnStderr: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions