Trying token for auth instead of password

This commit is contained in:
Aaron Louie 2020-04-03 11:12:36 -04:00
parent da60bff465
commit 4adc0a3935
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ before_install:
- sudo pip install --upgrade pip
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
- echo $DOCKER_PASSWORD | docker login -u "$DOCKER_USERNAME" --password-stdin
- echo $DOCKER_TOKEN | docker login -u "$DOCKER_USERNAME" --password-stdin
install:
docker build --no-cache -t sartography/cr-connect-db:latest . || exit 1;