Skip to content

Instantly share code, notes, and snippets.

@Cibernomadas
Created August 8, 2018 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cibernomadas/f14eed0d5bbb1912f3c2ad1161df514e to your computer and use it in GitHub Desktop.
Save Cibernomadas/f14eed0d5bbb1912f3c2ad1161df514e to your computer and use it in GitHub Desktop.
workspace:
base: /go
path: src/<ip raspberry pi>/Nomada/TelegramBot
clone:
git:
image: cibernomadas/drone-plugin-git
pipeline:
tgbot:
image: resin/raspberrypi3-alpine-golang
commands:
- go get
- go build -o release/cibernomada_tgbot
gitea_release:
image: plugins/gitea-release
title: Cibernomadas TGBot
base_url: http://<ip raspberry pi>:3000
insecure: true
secrets: [ gitea_token ]
files:
- release/cibernomada_tgbot
checksum:
- md5
- sha1
- sha256
- sha512
when:
event: tag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment