Skip to content

Support Windows image builds #18

Open

Description

@sixeyed

The GitHub runner windows-2019 has Docker installed, so you can build and push images with a workflow like this:

Would be great if this action supported Windows image builds on Windows runners.

Activity

  1. zappy-shu commented on Mar 23, 2020

    @zappy-shu

    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

  2. adamgins commented on May 18, 2020

    @adamgins

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

  3. giallu commented on Nov 11, 2021

    @giallu

    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 😄

  4. rshamsnejad commented on Nov 14, 2021

    @rshamsnejad

    I would also be interested in this action working on Windows.

  5. Antonytm commented on Feb 16, 2022

    @Antonytm

    I am also interested in this action working on Windows.

  6. ScottGuymer commented on Mar 1, 2022

    @ScottGuymer

    Are there any plans to have this action work on windows too?

  7. ian-flores commented on Jun 27, 2022

    @ian-flores

    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?

  8. Antonytm commented on Jun 27, 2022

    @Antonytm

    @ian-flores
    I ended up with the usage mr-smithers-excellent/docker-build-push@v5 action template.

  9. ghost added a commit that references this issue on Nov 24, 2022
  10. bkalcho commented on Dec 15, 2022

    @bkalcho

    Will this be implemented in the near future?

  11. pl4nty commented on Oct 25, 2023

    @pl4nty

    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

  12. andymcblane commented on Jun 13, 2024

    @andymcblane

    Also keen on this feature!

  13. bosch-ch commented on Jul 1, 2024

    @bosch-ch

    Yes please!! Would help our adoption of Github Actions no end

  14. daniel-brenot commented on Feb 7, 2025

    @daniel-brenot

    Poking this in 2025 since this seems like a basic feature that would be very nice to have

  15. mloskot commented on Sep 27, 2025

    @mloskot

    @ian-flores I ended up with the usage mr-smithers-excellent/docker-build-push@v5 action template.

    I've also switched over to this variant and mr-smithers-excellent/docker-build-push@v6 with runs-on: windows-2022 builds servercore:ltsc2022-based images like charm for me.

    Still, pity Docker folks neglect the Windows builds here. Upvoted this.

  16. kamranayub commented on Feb 5, 2026

    @kamranayub

    I also switched to mr-smithers-excellent/docker-build-push@v6 but it doesn't support caching out of the box like the official action. Just FYI. I'd definitely rather use the official action, so upvoting this.

  17. Vale54321 commented on May 8, 2026

    @Vale54321

    Also upvoting this!

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