lumbung-kios-cms/.drone.yml

35 lines
765 B
YAML

---
kind: pipeline
name: continuous deployment
steps:
- name: build and push new image
image: plugins/docker
settings:
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
repo: decentral1se/kios-admin
tags: latest
- name: deploy image
image: decentral1se/stack-ssh-deploy:latest
environment:
STACK_NAME: kios_admin_lumbung_space
SECRET_PAYLOAD_SECRET_VERSION: v1
APP_ENTRYPOINT_VERSION: v1
settings:
stack: kios_admin_lumbung_space
host: lumbung.space
deploy_key:
from_secret: drone_ssh_lumbung.space
depends_on:
- build and push new image
trigger:
branch:
- main
event:
exclude:
- pull_request