build: add container name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
54299871e4
commit
cdd74131b9
@ -16,7 +16,8 @@ steps:
|
|||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker run -p 8180:8180 -d portfolio-image
|
- docker stop portfolio
|
||||||
|
- docker run -p 8180:8180 -d portfolio-image --name portfolio
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user