File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020 # login to github registry
2121 - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ghcr.io
2222 # build image
23- - docker build -t PyMatchaAPI .
23+ - docker build -t pymatcha-api .
2424 # push image
25- - docker push PyMatchaAPI
25+ - docker push pymatcha-api
26+ - stage : lint
27+ script : make lint
2628 - stage : test
2729 script :
2830 # login to github registry
3133 - docker pull PyMatchaAPI
3234 # run docker on port 80
3335 # do not forget to add env-file an environment file in Settings/CI CD/Variables
34- - docker run -d -p 5000:5000 --restart always PyMatchaAPI
36+ - docker run -d -p 5000:5000 --restart always pymatcha-api
3537 # run newman tests
3638 - newman run --color on 'PyMatcha.postman_collection.json'
3739 after_script :
You can’t perform that action at this time.
0 commit comments