Commit b0b7002e authored by Rémi Cailletaud's avatar Rémi Cailletaud
Browse files

blue/green

parent 701345a1
......@@ -6,7 +6,7 @@
- cd python-dice
script:
- docker pull ciformation/dice-server:latest
- if [ "$(docker ps -q -f name=dice-$)" ]; then docker stop dice-$CI_JOB_NAME; fi;
- if [ "$(docker ps -q -f name=dice-$CI_JOB_NAME)" ]; then docker stop dice-$CI_JOB_NAME; fi;
- docker run --name dice-$CI_JOB_NAME -d --rm -p $PORT:8081 ciformation/dice-server:latest
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment