{"id":20801873,"url":"https://github.com/philips-software/run-windows-docker-container-action","last_synced_at":"2025-09-03T08:34:09.325Z","repository":{"id":61766378,"uuid":"545660958","full_name":"philips-software/run-windows-docker-container-action","owner":"philips-software","description":"Action to run windows containers","archived":false,"fork":false,"pushed_at":"2024-10-23T19:53:52.000Z","size":27,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T04:37:25.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philips-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-04T19:06:54.000Z","updated_at":"2025-03-19T10:24:53.000Z","dependencies_parsed_at":"2024-10-23T22:53:29.253Z","dependency_job_id":"6293fa6d-77a7-4954-8741-ac6b4b4392ab","html_url":"https://github.com/philips-software/run-windows-docker-container-action","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Frun-windows-docker-container-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Frun-windows-docker-container-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Frun-windows-docker-container-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Frun-windows-docker-container-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philips-software","download_url":"https://codeload.github.com/philips-software/run-windows-docker-container-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793544,"owners_count":21805053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T18:24:54.193Z","updated_at":"2025-09-03T08:34:09.311Z","avatar_url":"https://github.com/philips-software.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Action for running commands in a windows docker container\n\n## State\n\n[![Test](https://github.com/philips-software/run-windows-docker-container-action/actions/workflows/test.yml/badge.svg)](https://github.com/philips-software/run-windows-docker-container-action/actions/workflows/test.yml)\n\n## Description\n\nComposite action for running commands in windows docker containers.\n\n## Usage\n\nVery simple hello world example:\n\n```\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n      - name: Test_Run\n        uses: philips-software/run-windows-docker-container-action@\u003cversion\u003e\n        with:\n          image: mcr.microsoft.com/windows/servercore:20H2\n          entrypoint: powershell.exe\n          run: \u003e-\n            echo \"Hello world\";\n            ./run-test-script.ps1;\n```\n\n## Default environment\n\nThis action tries to stay close to GitHub's Action environment, and\nas such all GitHub defined [default environment variables](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables) are passed\nto the container by default.\n\nBy default, the github workspace directory is mapped to the docker volume path\nand work path.\n\n\u003c!-- action-docs-inputs --\u003e\n## Inputs\n\n| parameter | description | required | default |\n| - | - | - | - |\n| image | Docker image. | `true` |  |\n| run | Command to execute. | `true` |  |\n| workspace_path | Workspace path. Default is root workspace path. | `false` |  |\n| mapping_path | Mapping path, i.e. path to where the workspace path is mapped in the docker container. Defaults to workspace_path. | `false` |  |\n| work_path | Work path, i.e. path where the command in the docker container is executed. Defaults to workspace_path. | `false` |  |\n| memory | Memory limit. See docker documentation on --memory. | `false` | 4GB |\n| entrypoint | Overrides the default ENTRYPOINT in docker image. | `false` |  |\n| env_names | Environment variable names passed to docker image as comma separated list, for example: NAME1, NAME2, NAME3 | `false` |  |\n| extra_args | Extra arguments for docker run command. | `false` |  |\n| pre-warm | Run a warming-up container (which might crash due to first time use failure) | `false` | true |\n| pre-warm-cmd | Pre warm command to run inside the container | `false` | echo \"warming up!\" |\n| registry_authentication | Authenticate against registry server | `false` | false |\n| registry_username | Docker registry username. | `false` |  |\n| registry_token | Docker registry token | `false` |  |\n| registry_repository | Docker registry repository | `false` |  |\n\n\n\n\u003c!-- action-docs-inputs --\u003e\n\n\n\u003c!-- action-docs-runs --\u003e\n## Runs\n\nThis action is a `composite` action.\n\n\n\u003c!-- action-docs-runs --\u003e\n\n## Contributing\n\nPlease refer to our [Contributing](CONTRIBUTING.md) guide when you want to contribute to this project.\n\n## License\n\nRun-Windows-Docker-Container is licenced under the [MIT](https://choosealicense.com/licenses/mit/) license. See [LICENSE file](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Frun-windows-docker-container-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilips-software%2Frun-windows-docker-container-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Frun-windows-docker-container-action/lists"}