Remove Readme ref to .drone.sh
Fix stupid rancher publish ref that sneaked in Added windows container preperation
This commit is contained in:
parent
cfb46f2f1e
commit
426c52cced
20
.drone.yml
20
.drone.yml
|
@ -40,6 +40,16 @@ pipeline:
|
|||
commands:
|
||||
- go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/linux/arm/drone-webhook
|
||||
|
||||
# build_windows_amd64:
|
||||
# image: golang:1.9-nanoserver
|
||||
# group: build
|
||||
# environment:
|
||||
# - GOOS=windows
|
||||
# - GOARCH=amd64
|
||||
# - CGO_ENABLED=0
|
||||
# commands:
|
||||
# - go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -o release/windows/amd64/drone-webhook
|
||||
|
||||
publish_linux_amd64:
|
||||
image: plugins/docker
|
||||
repo: plugins/webook
|
||||
|
@ -69,3 +79,13 @@ pipeline:
|
|||
when:
|
||||
branch: master
|
||||
event: push
|
||||
|
||||
# publish_windows_amd64:
|
||||
# image: plugins/docker
|
||||
# repo: plugins/webhook
|
||||
# tags: [ windows-amd64 ]
|
||||
# secrets: [ docker_username, docker_password ]
|
||||
# dockerfile: Dockerfile.windows
|
||||
# when:
|
||||
# branch: master
|
||||
# event: push
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
FROM microsoft/nanoserver:latest
|
||||
MAINTAINER Drone.IO Community <drone-dev@googlegroups.com>
|
||||
|
||||
ENV GODEBUG=netdns=go
|
||||
|
||||
LABEL org.label-schema.version=latest
|
||||
LABEL org.label-schema.vcs-url="https://github.com/drone-plugins/drone-webhook.git"
|
||||
LABEL org.label-schema.name="Drone Webhook"
|
||||
LABEL org.label-schema.vendor="Drone.IO Community"
|
||||
LABEL org.label-schema.schema-version="1.0"
|
||||
|
||||
ADD release/windows/amd64/drone-webhook /bin/
|
||||
ENTRYPOINT [ "/bin/drone-webhook" ]
|
|
@ -10,7 +10,7 @@ Drone plugin to send build status notifications via Webhook. For the usage infor
|
|||
|
||||
## Binary
|
||||
|
||||
Build the binary using `./.drone.sh`:
|
||||
Build the binary using `drone exec`:
|
||||
|
||||
### Usage
|
||||
|
||||
|
|
Loading…
Reference in New Issue