feat: CI/CD setup
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
cellarspoon
2022-01-05 11:02:44 +01:00
parent 36d5d2c976
commit 3a15d4f7d4
6 changed files with 49 additions and 12 deletions

27
.drone.yml Normal file
View File

@ -0,0 +1,27 @@
---
kind: pipeline
name: continuous deployment
steps:
- name: build image
image: plugins/docker
settings:
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
repo: decentral1se/beta.lumbung.space
tags: latest
- name: deploy stack
image: decentral1se/stack-ssh-deploy:latest
settings:
stack: beta_lumbung_space
host: lumbung.space
deploy_key:
from_secret: drone_ssh_lumbung.space
trigger:
branch:
- main
event:
exclude:
- pull_request