darkflameserver/.drone.yml

26 lines
No EOL
528 B
YAML

kind: pipeline
type: kubernetes
name: darkflame-build
steps:
- name: build
image: gcc:13
commands:
- apt-get update && apt-get install -y cmake
- git clone --recursive https://github.com/DarkflameUniverse/DarkflameServer
- cd DarkflameServer
- ./build.sh -j4
- name: docker-build
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/darkflameserver
tags: latest
when:
branch:
- main
event:
- push