Commit 03fe439b authored by Khang Le's avatar Khang Le
Browse files

Update .gitlab-ci.yml

parent 1f3b02c5
Pipeline #710 passed with stages
in 31 seconds
......@@ -22,4 +22,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
deploy_test:
stage: test
script:
- docker run -d -p 10087 --name myfastapi-test-$CI_PIPELINE_ID fastapi:$CI_PIPELINE_ID
- docker stop myfastapi-test-$CI_PIPELINE_ID
- docker rm myfastapi-test-$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