Instantly share code, notes, and snippets.

Cibernómadas Cibernomadas

View GitHub Profile
View docker-compose.yml
version: '3'
services:
drone-server:
image: cibernomadas/drone-server
restart: always
networks:
- traefik_net
- drone
ports:
View docker-compose.yml
version: "3.0"
volumes:
gitea:
driver: local
services:
server:
image: cibernomadas/gitea
restart: always
View traefik.toml
debug = false
sendAnonymousUsage = false
logLevel = "INFO"
[traefikLog]
filePath = "/var/log/traefik/traefik.log"
format = "json"
View docker-compose.yml
version: '3.0'
services:
traefik:
image: traefik:alpine
restart: always
ports:
- 80:80
- 443:443
networks:
View .drone.yml
workspace:
base: /go
path: src/<ip raspberry pi>/Nomada/TelegramBot
clone:
git:
image: cibernomadas/drone-plugin-git
pipeline:
tgbot:
View shell
git tag -a v0.1 -m "Cibernomadas TGBot v0.1"
git push origin master --tags
View drone.yml
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
View .drone.yml
workspace:
base: /go
path: src/<ip raspberry pi>/Nomada/TelegramBot
clone:
git:
image: cibernomadas/drone-plugin-git
pipeline:
tgbot:
View shell
docker build -t cibernomadas/drone-plugin-git -f Dockerfile.arm .
View ash
go build -a -tags netgo -o release/linux/arm/drone-git