Telegram bot for drafting MLP:CCG (@mlpdraftbot)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
615 B

kind: pipeline
name: default
steps:
- name: build
image: golang
commands:
- GOPROXY=https://modules.fromouter.space go mod download
- CGO_ENABLED=0 go install .
volumes:
- name: gopath
path: /go
- name: publish
image: plugins/docker
settings:
auto_tag: true
dockerfile: Dockerfile
repo: hamcha/mlpdraftbot
target: final
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- push
- tag
branch: master
volumes:
- name: gopath
temp: {}