fix/drone #5

Merged
hardik merged 2 commits from fix/drone into main 2026-05-29 13:06:14 +05:30
1 changed files with 6 additions and 37 deletions
Showing only changes of commit 25cef164aa - Show all commits

View File

@ -1,40 +1,9 @@
kind: pipeline # kind: pipeline
type: docker type: docker
name: Build Image name: test
steps: steps:
- name: Build Docker Image - name: hello
image: plugins/docker image: alpine
settings: commands:
username: - echo "Drone is working"
from_secret: docker_username
password:
from_secret: docker_password
repo: git.midastix.com/ci-docker-repo-user/manicandles
registry: git.midastix.com
when:
branch:
- main
event:
- push
- name: Deploy image
image: appleboy/drone-ssh
settings:
host: server1.midastix.com
username: root
key:
from_secret: server_ssh_pkey
port: 22
command_timeout: 5m
script:
- echo "Deploying ManiCandles"
- sudo /opt/deployable/manicandles/docker/deploy.sh
- echo "Completed Deployment"
when:
branch:
- main
event:
- push