mirror of
https://github.com/drone-plugins/drone-webhook.git
synced 2026-06-04 18:24:05 +08:00
Merge pull request #41 from drone-plugins/windows-dockerfiles
Add Windows Dockerfiles
This commit is contained in:
@@ -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" ]
|
||||
@@ -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" ]
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user