- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.8k
Description
Currently Ko is not able to build images for Windows (see ko-build/ko#361) and adding support for this is potentially a complicated problem to solve. In the interest of progressing development on Windows support for Tekton, I think it would be beneficial to investigate alternatives for building and publishing Windows images until this functionality is supported by Ko.
A possible workaround would be to build images using Docker. I have an example of a Dockerfile for the entrypoint binary which I have been using for testing here: https://github.com/TensorWorks/pipeline/blob/7286fc699d4585ecbf87eedc9e00688f7b0daf5c/images/windows/entrypoint/Dockerfile
Some pros:
- This does not impact the current workflow for Linux development
- Dockerfiles are easy to read and understand
Some cons:
- Building Windows images will depend on Docker and a Windows host machine
- There would be some additional upkeep required to maintain Windows images
I'm keen to get some feedback on this approach and also encourage others to share ideas if you think there might be a better alternative.
Related TEP: tektoncd/community#383
Related Issue: #1826