build-push-action
build-push-action copied to clipboard
Support Windows image builds
The GitHub runner windows-2019
has Docker installed, so you can build and push images with a workflow like this:
- https://github.com/sixeyed/pi/blob/master/.github/workflows/build-windows.yaml
Would be great if this action supported Windows image builds on Windows runners.
Hi @sixeyed, thanks for your feedback. This is interesting and I can see it being useful. Currently the action runs using a Linux container hence it wouldn't work with the Windows hosts so this will need some investigating on the best way to support this. I will discuss this with our PM and see if we can get it prioritized
FYI this is working with Windows https://github.com/mr-smithers-excellent/docker-build-push but hitting some issues on second push.
We have Linux images and Windows based images (for On prem customers).
I worked several days to build a Windows image locally with all our stack (C++/Qt based application) only to find out I could not build and use the final image with an action. Sad 😄
I would also be interested in this action working on Windows.
I am also interested in this action working on Windows.
Are there any plans to have this action work on windows too?
Hey folks, just to add traction here, we would also benefit from having this action working on Windows. Is there any way folks outside of Docker (like myself) can contribute to do this?
@ian-flores I ended up with the usage mr-smithers-excellent/docker-build-push@v5 action template.
Will this be implemented in the near future?
As of last week, buildkit master
can build basic Windows images. But it might take a while for tests, releases, buildx/actions-toolkit integration, and availability in GitHub hosted runners. Partially tracked in moby/buildkit#616