Skip to content

Commit ceeac44

Browse files
authored
feat: update github runner version
1 parent b6d8845 commit ceeac44

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ghcr.io/vaggeliskls/windows-in-docker-container:latest
33

44
# Github action settings
55
ENV GITHUB_RUNNER_NAME=windows_x64_vagrant
6-
ENV GITHUB_RUNNER_VERSION=2.315.0
6+
ENV GITHUB_RUNNER_VERSION=2.316.1
77
ENV GITHUB_RUNNER_FILE=actions-runner-win-x64-${GITHUB_RUNNER_VERSION}.zip
88
ENV GITHUB_RUNNER_URL=https://github.com/actions/runner/releases/download/v${GITHUB_RUNNER_VERSION}/${GITHUB_RUNNER_FILE}
99
ENV GITHUB_RUNNER_LABELS=windows,win_x64,windows_x64,windows_vagrant_action

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
Explore an innovative, efficient, and cost-effective approach to deploying a custom GitHub Runner that runs in a containerized Windows OS (x64) environment on a Linux system. This project leverages the robust capabilities of Vagrant VM, libvirt, and docker-compose which allows for seamless management of a Windows instance just like any Docker container. The added value here lies in the creation of a plug-and-play solution, significantly enhancing convenience, optimizing resource allocation, and integrating flawlessly with existing workflows. This strategy enriches CI/CD pipeline experiences in various dev-ops environments, providing a smooth and comprehensive approach that does not require prior knowledge of VM creation.
44

5+
**Don't forget to star the project if it helped you!**
6+
57
# 📋 Prerequisites
68

79
- [docker](https://www.docker.com/) version 24 or higher.
810
- [docker-compose](https://www.docker.com/) version 1.18 or higher.
911

12+
<!-- # 🚥 PAT - Organization Github Personal Access token
13+
1. -->
14+
1015
# 🚀 Deployment Guide
1116

1217
1. Create/Update the environmental file `.env`
@@ -31,14 +36,12 @@ DISK_SIZE=100
3136
version: "3.9"
3237

3338
services:
34-
win10:
39+
windows-github-runner-vm:
3540
image: ghcr.io/vaggeliskls/windows-github-custom-runner:latest
3641
env_file: .env
3742
stdin_open: true
3843
tty: true
3944
privileged: true
40-
volumes:
41-
- /sys/fs/cgroup:/sys/fs/cgroup
4245
ports:
4346
- 3389:3389
4447
```

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.9"
22

33
services:
4-
win10:
4+
windows-github-runner-vm:
55
image: ghcr.io/vaggeliskls/windows-github-custom-runner:latest
66
build:
77
dockerfile: ./Dockerfile
@@ -11,8 +11,6 @@ services:
1111
tty: true
1212
privileged: true
1313
# runtime: nvidia
14-
volumes:
15-
- /sys/fs/cgroup:/sys/fs/cgroup
1614
ports:
1715
- 3389:3389
1816
deploy:

0 commit comments

Comments
 (0)