Compare commits

...
3 Commits
Author SHA1 Message Date
khwezi 1e66974684 Merge pull request 'test' (#69) from test into main
continuous-integration/drone Build is passing
continuous-integration/drone/promote/prod Build is failing
Reviewed-on: #69
2026-03-14 10:32:48 +02:00
khwezi a6a32817c5 Retrieving host from secrets 2026-03-14 10:32:23 +02:00
khwezi 03574c720f Refactored container names 2026-03-14 10:31:41 +02:00
+5 -4
View File
@@ -107,9 +107,9 @@ steps:
from_secret: ssh_password
script:
- docker pull khwezi/webapitest:latest
- docker stop webapitest || true
- docker rm webapitest || true
- docker run -d --name webapitest --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Development -p 4000:8081 khwezi/webapitest:latest
- docker stop webapi || true
- docker rm webapi || true
- docker run -d --name webapi --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Development -p 4000:8081 khwezi/webapitest:latest
---
kind: pipeline
@@ -129,7 +129,8 @@ steps:
from_secret: ssh_prod_user
PLUGIN_PASSWORD:
from_secret: ssh_prod_password
PLUGIN_HOST: ssh_prod_host
PLUGIN_HOST:
from_secret: ssh_prod_host
settings:
script:
- docker stop webapi || true