woodpecker
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Aaron Riedel 2024-10-10 21:50:59 +02:00
parent 3264286eb5
commit 001b479bfa
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 29 additions and 26 deletions

View file

@ -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
View 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]