From 5f949df9c88311ebea5dab7be6bce508337bd6ad Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 6 Aug 2019 13:07:02 -0700 Subject: [PATCH] add 1809 windows build --- .drone.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.drone.yml b/.drone.yml index 3966c0c..a250e13 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,6 +32,38 @@ trigger: event: - push +--- +kind: pipeline +type: ssh +name: windows-1809-amd64 + +platform: + os: windows + +server: + host: + from_secret: windows_server_1809 + password: + from_secret: windows_password + user: + from_secret: windows_username + +steps: +- name: build + commands: + - docker login -u $env:USERNAME -p $env:PASSWORD + - docker build -f docker/Dockerfile.windows.1809 -t drone/git:windows-1809-amd64 . + - docker push drone/git:windows-1809-amd64 + environment: + USERNAME: + from_secret: docker_username + PASSWORD: + from_secret: docker_password + +trigger: + event: + - push + --- kind: pipeline type: docker @@ -56,3 +88,4 @@ trigger: depends_on: - windows-1903-amd64 +- windows-1809-amd64