Commit a6cb9d8a authored by Adrian Nilssen Nicolaisen's avatar Adrian Nilssen Nicolaisen
Browse files

Update .gitlab-ci.yml

parent 46446159
Pipeline #827 passed with stages
in 48 seconds
......@@ -30,4 +30,11 @@ container_deploy1:
- docker run -d -p 80 --name myfastapi-w1-$CI_PIPELINE_ID fastapi:$CI_PIPELINE_ID
- docker ps
- docker stop myfastapi-w1-$CI_PIPELINE_ID
- docker rm myfastapi-w1-$CI_PIPELINE_ID
\ No newline at end of file
- docker rm myfastapi-w1-$CI_PIPELINE_ID
container_deploy2:
stage: deploy
script:
- docker run -d -p 80 --name myfastapi-w2-$CI_PIPELINE_ID fastapi:$CI_PIPELINE_ID
- docker ps
- docker stop myfastapi-w2-$CI_PIPELINE_ID
- docker rm myfastapi-w2-$CI_PIPELINE_ID
\ No newline at end of file
Markdown is supported
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