This commit is contained in:
parent
ef2d403d16
commit
fd4e14873b
30
.drone.yml
Normal file
30
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user