forked from dotnet/dotnet-docker-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshippable.yml
30 lines (26 loc) · 823 Bytes
/
shippable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Language settings
build:
ci:
- sudo apt-get update
- sudo apt-get -y install python-dev
- sudo pip install setuptools==34.0.1
# Addresses botocore version mismatch errors
- sudo pip install --upgrade botocore
- sudo pip install awsebcli
post_ci:
# DockerHub
- docker build -t="gchuk5/dotnetsample:$BRANCH.$BUILD_NUMBER" .
- docker push gchuk5/dotnetsample:$BRANCH.$BUILD_NUMBER
integrations:
deploy:
# AWS Integration to deploy Docker image
- integrationName: "aws-eb-integration"
type: aws
application_name: "wafdemo"
env_name: "wafdemo-dev"
region: "us-east-1"
image_name: "gchuk5/dotnetsample"
image_tag: "$BRANCH.$BUILD_NUMBER"
hub:
- integrationName: "gchuk5-docker-hub-integration"
type: docker