Skip to content

Commit ff4a099

Browse files
committed
Trying another way to login
1 parent 6a06bd2 commit ff4a099

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ python:
99

1010
services:
1111
- mysql
12-
- redis-server
12+
- redis
1313

1414
install: pip install -r backend/requirements.txt
1515

@@ -18,15 +18,15 @@ jobs:
1818
- stage: build
1919
script:
2020
# login to github registry
21-
- echo $DEPLOY_PERSONAL_TOKEN | docker login ghcr.io --username seluj78 --password-stdin
21+
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2222
# build image
2323
- docker build -t PyMatchaAPI .
2424
# push image
2525
- docker push PyMatchaAPI
2626
- stage: test
2727
script:
2828
# login to github registry
29-
- echo $DOCKER_TRAVIS_PERSONAL_TOKEN | docker login ghcr.io --username seluj78 --password-stdin
29+
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
3030
# pull images
3131
- docker pull PyMatchaAPI
3232
# run docker on port 80

0 commit comments

Comments
 (0)