diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index e9d7610..0000000 --- a/.drone.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..d8f402b --- /dev/null +++ b/.woodpecker.yaml @@ -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]