Docker auto deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine Bartuccio 2021-07-01 21:35:12 +02:00
parent f53d6c52ba
commit 37881f28cc

35
.drone.yml Normal file
View File

@ -0,0 +1,35 @@
kind: pipeline
type: docker
name: default
steps:
- name: publish
image: plugins/docker
settings:
repo: klmp200/radio-bullshit
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: master
event: push
# - name: deploy
# image: appleboy/drone-ssh
# environment:
# SSH_PASSWORD:
# from_secret: ssh_password
# settings:
# host:
# from_secret: ssh_host
# username:
# from_secret: ssh_username
# password:
# from_secret: ssh_password
# envs: [ SSH_PASSWORD ]
# script:
# - echo $SSH_PASSWORD | sudo -S systemctl restart radio-bullshit
# when:
# branch: master
# event: push