WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@crazy-max
Copy link
Member

follow-up:

Buildx install command is deprecated since v0.30.0: https://github.com/docker/buildx/releases/tag/v0.30.0

People don't need to use it if they are using our build-push-action or bake-action. If they are not using our action and use docker build command instead, then they need to specify the BUILDX_BUILDER env var: https://docs.docker.com/build/builders/#difference-between-docker-build-and-docker-buildx-build

      -
        name: Set up Docker Buildx
        id: builder
        uses: docker/setup-buildx-action@v3
      -
        name: Build
        run: |
          docker build .
        env:
          BUILDX_BUILDER: ${{ steps.builder.outputs.name }}

Or they can directly invoke docker buildx build command so they don't need to specify this env var.

Signed-off-by: CrazyMax <[email protected]>
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.

1 participant