Skip to content

Commit c5c0209

Browse files
committed
Testing image build process.
1 parent cb8a40c commit c5c0209

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ before_install:
2626
- curl -LOk $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip\"" | sed 's/"//g')
2727
# download latest utPLSQL-cli release
2828
- curl -Lk -o utPLSQL-cli.zip $(curl --silent https://api.github.com/repos/utPLSQL/utPLSQL-cli/releases/latest | awk '/browser_download_url/ { print $2 }' | grep ".zip\"" | sed 's/"//g')
29-
- echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
30-
- docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}"
29+
- cat ~/.docker/config.json
30+
- cat <<< $(jq '.+{"experimental":"enabled"}' ~/.docker/config.json) > ~/.docker/config.json
31+
# - echo '{"experimental":"enabled"}' | sudo tee $HOME/.docker/config.json
32+
- echo ""${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USER}" --password-stdin
3133

3234
install:
3335
- npm install -g casperjs

0 commit comments

Comments
 (0)