forked from janeczku/docker-alpine-kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (28 loc) · 752 Bytes
/
circle.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
31
32
machine:
services:
- docker
dependencies:
# cache_directories:
# - "~/deps"
# pre:
# - if [[ ! -e ~/deps/bats_v0.4.0.tar.gz ]]; then mkdir -p ~/deps; curl -sSL -o ~/deps/bats_v0.4.0.tar.gz https://github.com/sstephenson/bats/archive/v0.4.0.tar.gz; fi
# - tar -xf ~/deps/bats_v0.4.0.tar.gz
# - sudo bats-0.4.0/install.sh /usr/local
override:
- docker info
- make build
- docker images
checkout:
post:
- git config user.name "Circle CI Build Bot"
- git config user.email "[email protected]"
- git remote -v
test:
override:
- make test
deployment:
hub:
branch: master
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- make release