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