Add '.drone.yml'
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Radim Lipovčan 2023-02-18 16:09:02 +01:00
parent ef2d403d16
commit fd4e14873b

30
.drone.yml Normal file
View File

@ -0,0 +1,30 @@
kind: pipeline
name: build
type: docker
steps:
- name: clone-repo
image: alpine:3
commands:
- apk add git
- git clone https://git.lipovcan.cz/Minecore/Minecraft-Server-Docker-Main.git
- mv Minecraft-Server-Docker-Main/* . ; rm Minecraft-Server-Docker-Main/ -Rvf
- name: image-create
image: plugins/docker
settings:
registry: http://docker.lipovcan.cz:5000
repo: docker.lipovcan.cz:5000/minecore/Minecraft-Server-Docker-Main
insecure: true
tags:
- latest
- name: image-create-dockerhub
image: plugins/docker
settings:
repo: ownercz/minecraft-server-main
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest