Skip to content

Commit 0f6eba5

Browse files
committed
Adding Windows 2004 Support
1 parent b3a664c commit 0f6eba5

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.drone.yml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,47 @@ steps:
168168
event:
169169
- tag
170170

171+
volumes:
172+
- name: docker_pipe
173+
host:
174+
path: \\\\.\\pipe\\docker_engine
175+
---
176+
kind: pipeline
177+
name: windows-2004
178+
179+
platform:
180+
os: windows
181+
arch: amd64
182+
version: 2004
183+
184+
# remove this and use upstream images when https://github.com/drone/drone-git/pull/25 is merged
185+
clone:
186+
disable: true
187+
188+
steps:
189+
- name: clone
190+
image: luthermonson/drone-git:windows-2004-amd64
191+
- name: publish-hyperkube-windows-2004
192+
image: luthermonson/drone-docker:2004
193+
settings:
194+
username:
195+
from_secret: docker_username
196+
password:
197+
from_secret: docker_password
198+
dockerfile: Dockerfile.windows
199+
repo: rancher/hyperkube
200+
tag: "${DRONE_TAG}-windows-2004"
201+
build_args:
202+
- SERVERCORE_VERSION=2004
203+
volumes:
204+
- name: docker_pipe
205+
path: \\\\.\\pipe\\docker_engine
206+
when:
207+
instance:
208+
- drone-publish.rancher.io
209+
event:
210+
- tag
211+
171212
volumes:
172213
- name: docker_pipe
173214
host:
@@ -195,4 +236,5 @@ depends_on:
195236
- linux-arm64
196237
- windows-1809
197238
- windows-1903
198-
- windows-1909
239+
- windows-1909
240+
- windows-2004

manifest.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ manifests:
2828
architecture: amd64
2929
os: windows
3030
version: 1909
31+
-
32+
image: rancher/hyperkube:{{build.tag}}-windows-2004
33+
platform:
34+
architecture: amd64
35+
os: windows
36+
version: 2004

0 commit comments

Comments
 (0)