Update pipeline.yml

This commit is contained in:
Florian Kaiser 2022-03-25 11:26:10 +01:00 committed by GitHub
parent 5acd9ee60b
commit d5d5796c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,51 +17,51 @@ pipeline:
from_secret: repo_api from_secret: repo_api
dockerfile: api/Dockerfile dockerfile: api/Dockerfile
publish_frontend: # publish_frontend:
image: plugins/docker # image: plugins/docker
settings: # settings:
username: # username:
from_secret: username # from_secret: username
password: # password:
from_secret: password # from_secret: password
registry: # registry:
from_secret: registry # from_secret: registry
repo: # repo:
from_secret: repo_frontend # from_secret: repo_frontend
dockerfile: frontend/Dockerfile # dockerfile: frontend/Dockerfile
publish_bot: # publish_bot:
image: plugins/docker # image: plugins/docker
settings: # settings:
username: # username:
from_secret: username # from_secret: username
password: # password:
from_secret: password # from_secret: password
registry: # registry:
from_secret: registry # from_secret: registry
repo: # repo:
from_secret: repo_bot # from_secret: repo_bot
dockerfile: telegram_bot/Dockerfile # dockerfile: telegram_bot/Dockerfile
deploy: # deploy:
image: appleboy/drone-ssh # image: appleboy/drone-ssh
network_mode: host # network_mode: host
secrets: # secrets:
- repo # - repo
target: REPO # target: REPO
- deploy_ip # - deploy_ip
target: IP # target: IP
- deploy_net # - deploy_net
target: NET # target: NET
- deploy_name # - deploy_name
target: NAME # target: NAME
- ssh_host # - ssh_host
target: PLUGIN_HOST # target: PLUGIN_HOST
- ssh_user # - ssh_user
target: PLUGIN_USERNAME # target: PLUGIN_USERNAME
- ssh_password # - ssh_password
target: PLUGIN_PASSWORD # target: PLUGIN_PASSWORD
environment: # environment:
PLUGIN_SCRIPT=/opt/docker/TelegramAktienBot/deploy.sh # PLUGIN_SCRIPT=/opt/docker/TelegramAktienBot/deploy.sh
branches: main # branches: main