Skip to content

Commit 42db59a

Browse files
author
Ubuntu
committed
escape docker vars
1 parent 1c1848c commit 42db59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ script:
88
- docker run -v $TRAVIS_BUILD_DIR/__tests__/mock:/var/www/__tests__/mock/:ro -it $BUILDING
99
bash -c "yarn test && npm ls --depth 0 && node --version && nodejs --version " --rm
1010
after_success:
11-
- docker login --username="$DOCKER_USERNAME" --password="$DOCKER_PASSWORD"
11+
- docker login --username="${DOCKER_USERNAME}" --password="${DOCKER_PASSWORD}"
1212
deploy:
1313
- provider: script
1414
script: docker tag $BUILDING $DOCKER_IMAGE:$TRAVIS_TAG; docker push $DOCKER_IMAGE:$TRAVIS_TAG

0 commit comments

Comments
 (0)