Skip to content

Commit

Permalink
Merge pull request #141 from luthermonson/v1.19
Browse files Browse the repository at this point in the history
[v1.19] Adding Windows 2004
  • Loading branch information
luthermonson authored Sep 8, 2020
2 parents b3a664c + 0f6eba5 commit c655c88
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
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

0 comments on commit c655c88

Please sign in to comment.