This commit is contained in:
parent
cbe38e9413
commit
096e219339
2 changed files with 31 additions and 0 deletions
29
.drone.yml
Normal file
29
.drone.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build_draftbot
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- CGO_ENABLED=0 GOPROXY=https://modules.fromouter.space go build -o release/draftbot git.fromouter.space/mcg/mlp-server-tools/draftbot
|
||||||
|
volumes:
|
||||||
|
- name: gopath
|
||||||
|
path: /go
|
||||||
|
|
||||||
|
- name: publish_draftbot
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
auto_tag: true
|
||||||
|
dockerfile: Dockerfile.publish
|
||||||
|
build_args: MODULE_PATH=draftbot
|
||||||
|
repo: hamcha/draftbot
|
||||||
|
target: final
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- tag
|
||||||
|
branch: master
|
|
@ -1,5 +1,7 @@
|
||||||
# Server tools
|
# Server tools
|
||||||
|
|
||||||
|
[![Build Status](https://drone.zyg.ovh/api/badges/mcg/mlp-server-tools/status.svg)](https://drone.zyg.ovh/mcg/mlp-server-tools)
|
||||||
|
|
||||||
Tools and services needed for the MCG backend to work.
|
Tools and services needed for the MCG backend to work.
|
||||||
|
|
||||||
## Inside this repository
|
## Inside this repository
|
||||||
|
|
Loading…
Reference in a new issue