26 lines
614 B
YAML
26 lines
614 B
YAML
---
|
|
kind: pipeline
|
|
name: deploy to recipes.coopcloud.tech
|
|
steps:
|
|
- name: build image
|
|
image: plugins/docker
|
|
settings:
|
|
username: 3wordchant
|
|
password:
|
|
from_secret: git_coopcloud_tech_token_3wc
|
|
repo: git.coopcloud.tech/coop-cloud/recipes.coopcloud.tech
|
|
tags: latest
|
|
registry: git.coopcloud.tech
|
|
|
|
- name: deployment
|
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
|
settings:
|
|
stack: recipes_coopcloud_tech
|
|
host: swarm-0.coopcloud.tech
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm-0_coopcloud_tech
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|