This commit is contained in:
parent
3264286eb5
commit
001b479bfa
2 changed files with 29 additions and 26 deletions
26
.drone.yml
26
.drone.yml
|
@ -1,26 +0,0 @@
|
|||
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
|
29
.woodpecker.yaml
Normal file
29
.woodpecker.yaml
Normal file
|
@ -0,0 +1,29 @@
|
|||
steps:
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/aaron/darkflameserver
|
||||
tags: latest
|
||||
when:
|
||||
- branch: main
|
||||
event: [push, manual]
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/aaron/darkflameserver
|
||||
tags: latest
|
||||
dry_run: true
|
||||
when:
|
||||
- branch:
|
||||
exclude: main
|
||||
event: [push, manual]
|
Loading…
Reference in a new issue