Merge branch 'master' of github.com:sartography/cr-connect-workflow
This commit is contained in:
commit
fae07f289f
|
@ -27,13 +27,10 @@ script:
|
|||
- coverage xml -i
|
||||
- sonar-scanner
|
||||
|
||||
after_success:
|
||||
- pip install --user awscli
|
||||
- export PATH=$PATH:$HOME/.local/bin
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash deploy.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install AWS CLI
|
||||
pip install --user awscli;
|
||||
export PATH=$PATH:$HOME/.local/bin;
|
||||
|
||||
# Build and push Docker image to Docker Hub
|
||||
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker build --no-cache -t sartography/cr-connect-backend:latest . || exit 1;
|
||||
|
|
Loading…
Reference in New Issue