45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
---
|
|
kind: pipeline
|
|
name: publish pipeline
|
|
steps:
|
|
- name: publish container
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_reg_username
|
|
password:
|
|
from_secret: docker_reg_passwd
|
|
repo: decentral1se/members.lumbung.space
|
|
|
|
- name: deploy stack
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
settings:
|
|
stack: members_lumbung_space
|
|
host: lumbung.space
|
|
deploy_key:
|
|
from_secret: drone_ssh_lumbung.space
|
|
depends_on:
|
|
- publish container
|
|
environment:
|
|
APP_THEME: lumbung
|
|
AUTOMATICALLY_LOG_IN: False
|
|
DOMAIN: members.lumbung.space
|
|
ENTRYPOINT_CONF_VERSION: v1
|
|
INVITE_TIME_LIMIT: 30
|
|
KEYCLOAK_CLIENT_ID: admin-cli
|
|
KEYCLOAK_DOMAIN: login.lumbung.space
|
|
KEYCLOAK_REALM: lumbung-space
|
|
LETS_ENCRYPT_ENV: production
|
|
NEXTCLOUD_API_BASE_URL: cloud.lumbung.space
|
|
NEXTCLOUD_USER: decentral1se
|
|
SECRET_APP_SECRET_KEY_VERSION: v1
|
|
SECRET_KEYCLOAK_CLIENT_SECRET_VERSION: v1
|
|
SECRET_NEXTCLOUD_APP_SECRET_VERSION: v1
|
|
STACK_NAME: members_lumbung_space
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
exclude:
|
|
- pull_request
|