:art:添加CI

This commit is contained in:
coward
2024-08-20 10:32:14 +08:00
parent 95b3b7ee17
commit 449396d122
4 changed files with 68 additions and 16 deletions

20
.drone.yml Normal file
View File

@@ -0,0 +1,20 @@
kind: pipeline
type: docker
name: wireguard-ui
trigger:
event: [tag]
steps:
# 编译演示环境镜像
- name: BuildDevImage
image: plugins/docker
settings:
registry: gitea.mrx.ltd
repo: gitea.mrx.ltd/go-pkg/wireguard-dashboard-admin
username:
from_secret: docker_user
password:
from_secret: docker_pwd
use_cache: true
auto_tag: true