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

Install docker buildx #29

Open
owenthereal opened this issue Feb 7, 2024 · 4 comments
Open

Install docker buildx #29

owenthereal opened this issue Feb 7, 2024 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@owenthereal
Copy link

It would be nice docker buildx is included as well. Thanks!

@douglascamata douglascamata added enhancement New feature or request good first issue Good for newcomers labels Feb 12, 2024
@douglascamata
Copy link
Owner

@owenthereal did you notice that docker buildx is missing? Do you have logs of a build that tried to use it and it wasn't there? I am asking because this actions installs Docker with Homebrew (brew install docker) and it installs https://github.com/docker/cli, which includes docker buildx.

@douglascamata douglascamata added the need-more-info Needs more info. label Mar 13, 2024
@thallgren
Copy link

I just noticed this too. Logs from the build can be found here. The steps of interest is "Run douglascamata/setup-docker-macos-action@v1-alpha" and "Build client image".

@thallgren
Copy link

I added this step to my workflow, and it seems to do the trick:

        run: |
          mkdir -p "${HOME}/.docker/cli-plugins"
          curl -fL https://github.com/docker/buildx/releases/download/v0.16.2/buildx-v0.16.2.darwin-amd64 -o "${HOME}/.docker/cli-plugins/docker-buildx"
          chmod +x "${HOME}/.docker/cli-plugins/docker-buildx"

@douglascamata
Copy link
Owner

Looks like there is a separate formula for docker buildx now (see https://formulae.brew.sh/formula/docker-buildx). I'll add it to the action.

Thanks for the extra information, @thallgren

@douglascamata douglascamata removed the need-more-info Needs more info. label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants