Compare commits

..

2 Commits

Author SHA1 Message Date
3386009590 switch to exec pipeline for CI
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-03 12:48:18 -08:00
372513cfdd add build badge to readme
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-30 08:53:01 -08:00
2 changed files with 7 additions and 14 deletions

View File

@ -1,34 +1,25 @@
---
kind: pipeline
type: docker
type: exec
name: main
trigger:
branch:
- master
platform:
os: linux
arch: amd64
steps:
- name: build
image: docker:latest
volumes:
- name: docker-socket
path: /var/run/docker.sock
commands:
- docker build -t registry.jfmonty2.com/minebot:latest .
- name: deploy
image: docker:latest
volumes:
- name: docker-socket
path: /var/run/docker.sock
environment:
REGISTRY_PWD:
from_secret: registry_pwd
commands:
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
- docker push registry.jfmonty2.com/minebot:latest
volumes:
- name: docker-socket
host:
path: /var/run/docker.sock

View File

@ -1,5 +1,7 @@
# Minebot
[![Build Status](https://drone.jfmonty2.com/api/badges/jfmonty2/minebot/status.svg)](https://drone.jfmonty2.com/jfmonty2/minebot)
Discord bot for controlling a Heavynode minecraft server.
Currently implemented commands: