1

Add Woodpecker configs for master build
ci/woodpecker/push/build Pipeline was canceled
ci/woodpecker/cron/build Pipeline was successful

This commit is contained in:
2026-05-05 20:28:41 +03:00
parent f8da568fae
commit 97e7a1bd29
2 changed files with 28 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
when:
- event: cron
- event: push
steps:
- name: docker
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
repo: git.pinkbyte.ru/pinkbyte/yggdrasil-ng
registry: https://git.pinkbyte.ru
username:
from_secret: repo_user
password:
from_secret: repo_password
tags: latest
+12
View File
@@ -0,0 +1,12 @@
FROM rust:1.95.0-trixie AS builder
RUN apt -y update && apt -y install git
RUN git clone https://github.com/Revertron/Yggdrasil-ng.git /app
WORKDIR /app
RUN cargo build --release --features ckr
FROM debian:trixie AS result
COPY --from=builder /app/target/release/yggdrasil /usr/bin
RUN mkdir /data && apt -y update && apt -y install iproute2 inetutils-ping && apt -y clean all
CMD /usr/bin/yggdrasil -c /data/config.toml