lumbung-kios-cms/.drone.yml
decentral1se 637089aa42
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
fix: missing env var for deploy
2023-01-24 12:50:41 +01:00

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