Update .drone.yml
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
2025-06-29 10:50:39 +02:00
parent cac5793138
commit a754e260db

View File

@ -6,7 +6,8 @@ steps:
- name: debug registry secrets - name: debug registry secrets
image: alpine image: alpine
commands: commands:
- echo "Username: " - echo "Username: $${docker_username}"
- echo "$${docker_password}" | wc -c
- name: build and push flappy image - name: build and push flappy image
image: plugins/docker image: plugins/docker
@ -17,17 +18,3 @@ steps:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
- name: deploy to server
image: appleboy/drone-ssh
settings:
host: 192.168.0.9
username: urban
port: 22
key:
from_secret: ssh_flappy_key
script:
- docker pull rubble.se:5000/urmo/flappy:latest
- docker stop flappy || true
- docker rm flappy || true
- docker run -d --name flappy --network web rubble.se:5000/urmo/flappy:latest