add 1809 build using ssh driver [ci skip]

This commit is contained in:
Brad Rydzewski 2019-08-04 22:26:47 -07:00
parent 7eaff99357
commit 8f0278c190

View File

@ -91,6 +91,36 @@ steps:
- push - push
- tag - tag
---
kind: pipeline
type: ssh
name: windows-1809-amd64
platform:
os: windows
server:
host:
from_secret: windows_1809_server
user:
from_secret: windows_1809_username
password:
from_secret: windows_1809_password
steps:
- name: docker
environment:
PASSWORD:
from_secret: docker_password
commands:
- docker login -u drone -p $PASSWORD
- docker build -f docker/Dockerfile.windows.1809 -t drone/git:windows-1809-amd64 .
- docker push drone/git:windows-1809-amd64
when:
event:
- push
- tag
--- ---
kind: pipeline kind: pipeline
name: after name: after
@ -118,5 +148,6 @@ depends_on:
- linux-arm - linux-arm
- linux-arm64 - linux-arm64
- linux-amd64 - linux-amd64
- windows-1809-amd64
... ...