mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-22 13:18:24 +00:00
Moves AWS CLI install step into deploy script
This commit is contained in:
parent
fed8b1e057
commit
2990d16ab6
@ -22,10 +22,6 @@ addons:
|
||||
script:
|
||||
- npm run ci
|
||||
|
||||
after_success:
|
||||
- pip install --user awscli
|
||||
- export PATH=$PATH:$HOME/.local/bin
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash ./deploy.sh
|
||||
|
@ -1,7 +1,11 @@
|
||||
#!/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
|
||||
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin;
|
||||
docker build --no-cache -t sartography/cr-connect-bpmn:latest . || exit 1;
|
||||
docker push sartography/cr-connect-bpmn:latest || exit 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user