Files
xdl/.drone.yml
mini a4064a5373
All checks were successful
continuous-integration/drone/push Build is passing
ci: fix compose project name and missing .env
2026-02-19 01:18:26 +08:00

29 lines
498 B
YAML

kind: pipeline
type: docker
name: default
trigger:
branch:
- main
- feature/*
steps:
- name: deploy
image: docker:latest
environment:
COMPOSE_PROJECT_NAME: xdl
commands:
- apk add --no-cache docker-compose
- touch .env
- docker-compose down
- docker-compose build
- docker-compose up -d
volumes:
- name: docker-sock
path: /var/run/docker.sock
volumes:
- name: docker-sock
host:
path: /var/run/docker.sock