Compare commits
2 Commits
34e0799c41
...
master
Author | SHA1 | Date | |
---|---|---|---|
3386009590 | |||
372513cfdd |
19
.drone.yml
19
.drone.yml
@ -1,34 +1,25 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: exec
|
||||||
name: main
|
name: main
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
|
||||||
volumes:
|
|
||||||
- name: docker-socket
|
|
||||||
path: /var/run/docker.sock
|
|
||||||
commands:
|
commands:
|
||||||
- docker build -t registry.jfmonty2.com/minebot:latest .
|
- docker build -t registry.jfmonty2.com/minebot:latest .
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: docker:latest
|
|
||||||
volumes:
|
|
||||||
- name: docker-socket
|
|
||||||
path: /var/run/docker.sock
|
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_PWD:
|
REGISTRY_PWD:
|
||||||
from_secret: registry_pwd
|
from_secret: registry_pwd
|
||||||
commands:
|
commands:
|
||||||
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
|
- echo $REGISTRY_PWD | docker login -u drone --password-stdin registry.jfmonty2.com
|
||||||
- docker push registry.jfmonty2.com/minebot:latest
|
- docker push registry.jfmonty2.com/minebot:latest
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: docker-socket
|
|
||||||
host:
|
|
||||||
path: /var/run/docker.sock
|
|
@ -1,5 +1,7 @@
|
|||||||
# Minebot
|
# Minebot
|
||||||
|
|
||||||
|
[](https://drone.jfmonty2.com/jfmonty2/minebot)
|
||||||
|
|
||||||
Discord bot for controlling a Heavynode minecraft server.
|
Discord bot for controlling a Heavynode minecraft server.
|
||||||
|
|
||||||
Currently implemented commands:
|
Currently implemented commands:
|
||||||
|
Reference in New Issue
Block a user