Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,47 @@ steps:
event:
- tag

volumes:
- name: docker_pipe
host:
path: \\\\.\\pipe\\docker_engine
---
kind: pipeline
name: windows-2004

platform:
os: windows
arch: amd64
version: 2004

# remove this and use upstream images when https://github.com/drone/drone-git/pull/25 is merged
clone:
disable: true

steps:
- name: clone
image: luthermonson/drone-git:windows-2004-amd64
- name: publish-hyperkube-windows-2004
image: luthermonson/drone-docker:2004
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile.windows
repo: rancher/hyperkube
tag: "${DRONE_TAG}-windows-2004"
build_args:
- SERVERCORE_VERSION=2004
volumes:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine
when:
instance:
- drone-publish.rancher.io
event:
- tag

volumes:
- name: docker_pipe
host:
Expand Down Expand Up @@ -195,4 +236,5 @@ depends_on:
- linux-arm64
- windows-1809
- windows-1903
- windows-1909
- windows-1909
- windows-2004
6 changes: 6 additions & 0 deletions manifest.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ manifests:
architecture: amd64
os: windows
version: 1909
-
image: rancher/hyperkube:{{build.tag}}-windows-2004
platform:
architecture: amd64
os: windows
version: 2004