Files
pquickmemo/.drone.yml
passthem c9f21c3e96
All checks were successful
continuous-integration/drone/push Build is passing
Modify Drone CI branch
2026-01-05 16:45:03 +08:00

44 lines
906 B
YAML

kind: pipeline
type: docker
name: 构建应用
trigger:
event:
- push
branch:
- main
steps:
- name: 构建 Docker 镜像
image: plugins/docker:latest
privileged: true
settings:
username: kagami-ci
password:
from_secret: KAGAMI-CI-PASSWORD
repo: gitea.service.jazzwhom.top/kagami-ci/pquickmemo
registry: gitea.service.jazzwhom.top
tags:
- latest
- latest-${DRONE_COMMIT_SHA}
dockerfile: Dockerfile
volumes:
- name: docker-socket
path: /var/run/docker.sock
- name: 发送构建结果到 ntfy
image: parrazam/drone-ntfy
when:
status: [success, failure]
settings:
url: https://ntfy.service.jazzwhom.top
topic: drone_ci
tags:
- drone-ci
token:
from_secret: NTFY_TOKEN
volumes:
- name: docker-socket
host:
path: /var/run/docker.sock