publish to 1909
This commit is contained in:
50
.drone.yml
50
.drone.yml
@@ -175,6 +175,55 @@ steps:
|
||||
depends_on:
|
||||
- linux
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- refs/tags/*
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: windows-1909
|
||||
|
||||
platform:
|
||||
os: windows
|
||||
|
||||
server:
|
||||
host:
|
||||
from_secret: windows_server_1909
|
||||
password:
|
||||
from_secret: windows_password
|
||||
user:
|
||||
from_secret: windows_username
|
||||
|
||||
steps:
|
||||
- name: build_latest
|
||||
environment:
|
||||
VERSION: 1909
|
||||
USERNAME:
|
||||
from_secret: docker_username
|
||||
PASSWORD:
|
||||
from_secret: docker_password
|
||||
commands:
|
||||
- powershell.exe scripts/windows/latest.ps1
|
||||
when:
|
||||
event: [ push ]
|
||||
|
||||
- name: build_tag
|
||||
environment:
|
||||
VERSION: 1909
|
||||
USERNAME:
|
||||
from_secret: docker_username
|
||||
PASSWORD:
|
||||
from_secret: docker_password
|
||||
commands:
|
||||
- powershell.exe scripts/windows/tag.ps1
|
||||
when:
|
||||
event: [ tag ]
|
||||
|
||||
depends_on:
|
||||
- linux
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
@@ -200,6 +249,7 @@ steps:
|
||||
depends_on:
|
||||
- windows-1903
|
||||
- windows-1809
|
||||
- windows-1909
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
|
||||
@@ -47,3 +47,9 @@ manifests:
|
||||
architecture: amd64
|
||||
os: windows
|
||||
version: 1903
|
||||
-
|
||||
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1909-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: windows
|
||||
version: 1909
|
||||
|
||||
Reference in New Issue
Block a user