Refactored container names
This commit is contained in:
@@ -107,9 +107,9 @@ steps:
|
|||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
script:
|
script:
|
||||||
- docker pull khwezi/webapitest:latest
|
- docker pull khwezi/webapitest:latest
|
||||||
- docker stop webapitest || true
|
- docker stop webapi || true
|
||||||
- docker rm webapitest || true
|
- docker rm webapi || true
|
||||||
- docker run -d --name webapitest --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Development -p 4000:8081 khwezi/webapitest:latest
|
- docker run -d --name webapi --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Development -p 4000:8081 khwezi/webapitest:latest
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -129,7 +129,7 @@ steps:
|
|||||||
from_secret: ssh_prod_user
|
from_secret: ssh_prod_user
|
||||||
PLUGIN_PASSWORD:
|
PLUGIN_PASSWORD:
|
||||||
from_secret: ssh_prod_password
|
from_secret: ssh_prod_password
|
||||||
PLUGIN_HOST: ssh_prod_host
|
PLUGIN_HOST: 192.168.1.48
|
||||||
settings:
|
settings:
|
||||||
script:
|
script:
|
||||||
- docker stop webapi || true
|
- docker stop webapi || true
|
||||||
|
|||||||
Reference in New Issue
Block a user