Files
pgtune/.drone.yml
T
administrator 074f654947
continuous-integration/drone/push Build is passing
CI / CD
2026-09-06 05:52:22 +03:00

37 lines
761 B
YAML

name: development
type: docker
kind: pipeline
volumes:
- name: bun_cache
host:
path: /var/lib/cache/docker/bun
- name: node_modules
host:
path: /var/lib/cache/docker/node_modules/pgtune
- name: dist
host:
path: /var/lib/docker/volumes/pgtune/_data
steps:
- name: build and deploy static
image: dockerhub.timeweb.cloud/oven/bun:alpine
volumes:
- name: bun_cache
path: /root/.bun/install/cache
- name: node_modules
path: /drone/src/node_modules
- name: dist
path: /drone/src/dist
commands:
# - apk add --no-cache tar zstd openssh rsync
- bun install --frozen_lockfile
- bun --bun run build
image_pull_secrets:
- GiteaRegistryConfig
trigger:
branch:
- develop