Skip to content

Commit 23ebca3

Browse files
committed
Changed container name
1 parent 0ca41ed commit 23ebca3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
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
@@ -31,7 +33,7 @@ jobs:
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:

0 commit comments

Comments
 (0)