Merge pull request #41 from drone-plugins/windows-dockerfiles

Add Windows Dockerfiles
This commit is contained in:
Thomas Boerger
2019-01-25 19:01:58 +01:00
committed by GitHub
3 changed files with 21 additions and 4 deletions
@@ -1,10 +1,10 @@
# escape=`
FROM plugins/base:windows-amd64
FROM plugins/base:windows-1803
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.name="Drone Webhook" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"
ADD release\drone-webhook.exe c:\drone-webhook.exe
ENTRYPOINT [ "c:\\drone-webhook.exe" ]
ADD release/windows/amd64/drone-webhook.exe C:/bin/drone-webhook.exe
ENTRYPOINT [ "C:\\bin\\drone-webhook.exe" ]
+10
View File
@@ -0,0 +1,10 @@
# escape=`
FROM plugins/base:windows-1809
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.name="Drone Webhook" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"
ADD release/windows/amd64/drone-webhook.exe C:/bin/drone-webhook.exe
ENTRYPOINT [ "C:\\bin\\drone-webhook.exe" ]
+8 -1
View File
@@ -27,7 +27,14 @@ manifests:
architecture: arm
os: linux
-
image: plugins/webhook:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}windows-amd64
image: plugins/webhook:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}windows-1803
platform:
architecture: amd64
os: windows
version: 1803
-
image: plugins/webhook:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}windows-1809
platform:
architecture: amd64
os: windows
version: 1809