2018-08-08 21:43:53 +00:00
|
|
|
---
|
2019-08-06 17:06:46 +00:00
|
|
|
# this file is automaticall generated. DO NOT EDIT
|
2018-09-17 20:44:45 +00:00
|
|
|
|
2019-08-05 05:26:47 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: ssh
|
2019-08-06 17:06:46 +00:00
|
|
|
name: windows-1903-amd64
|
2019-08-05 05:26:47 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: windows
|
|
|
|
|
|
|
|
server:
|
|
|
|
host:
|
2019-08-06 17:06:46 +00:00
|
|
|
from_secret: windows_server_1903
|
2019-08-05 05:26:47 +00:00
|
|
|
password:
|
2019-08-06 17:06:46 +00:00
|
|
|
from_secret: windows_password
|
|
|
|
user:
|
|
|
|
from_secret: windows_username
|
2019-08-05 05:26:47 +00:00
|
|
|
|
|
|
|
steps:
|
2019-08-06 17:06:46 +00:00
|
|
|
- name: build
|
|
|
|
commands:
|
|
|
|
- docker login -u $env:USERNAME -p $env:PASSWORD
|
|
|
|
- docker build -f docker/Dockerfile.windows.1903 -t drone/git:windows-1903-amd64 .
|
|
|
|
- docker push drone/git:windows-1903-amd64
|
2019-08-05 05:26:47 +00:00
|
|
|
environment:
|
2019-08-06 17:06:46 +00:00
|
|
|
USERNAME:
|
|
|
|
from_secret: docker_username
|
2019-08-05 05:26:47 +00:00
|
|
|
PASSWORD:
|
|
|
|
from_secret: docker_password
|
2019-08-06 17:06:46 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|
2019-08-05 05:26:47 +00:00
|
|
|
|
2019-08-06 20:07:02 +00:00
|
|
|
---
|
|
|
|
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
|
|
|
|
|
2018-09-17 20:44:45 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-08-06 17:06:46 +00:00
|
|
|
type: docker
|
|
|
|
name: manifest
|
2018-09-17 20:44:45 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest
|
2019-08-06 17:06:46 +00:00
|
|
|
image: plugins/manifest
|
2018-09-17 20:44:45 +00:00
|
|
|
settings:
|
2019-08-06 17:06:46 +00:00
|
|
|
auto_tag: "true"
|
|
|
|
ignore_missing: "true"
|
|
|
|
spec: docker/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
2018-09-17 20:44:45 +00:00
|
|
|
password:
|
2019-08-05 04:37:08 +00:00
|
|
|
from_secret: docker_password
|
2018-09-17 20:44:45 +00:00
|
|
|
|
2019-08-06 17:06:46 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
2018-09-17 20:44:45 +00:00
|
|
|
|
2019-08-06 17:06:46 +00:00
|
|
|
depends_on:
|
|
|
|
- windows-1903-amd64
|
2019-08-06 20:07:02 +00:00
|
|
|
- windows-1809-amd64
|