forked from fabric8io/fabric8-console
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcircle.yml
39 lines (33 loc) · 912 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
33
34
35
36
37
machine:
node:
version: 6.1.0
services:
- docker
branches:
ignore:
- builds
dependencies:
pre:
- npm install -g bower gulp && npm update -g
- npm update && npm prune
- bower cache clean && rm -Rf libs/*
- bower install
- rm -Rf site/*
override:
- gulp bower path-adjust
- gulp build
- gulp site
test:
override:
- echo yes
deployment:
hub:
branch: master
owner: fabric8io
commands:
- docker build -t fabric8/fabric8-console .
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker push fabric8/fabric8-console
- docker login -e $BINTRAY_EMAIL -u $BINTRAY_USER -p $BINTRAY_PASS fabric8-docker-fabric8.bintray.io
- docker tag fabric8/fabric8-console fabric8-docker-fabric8.bintray.io/fabric8/fabric8-console
- docker push fabric8-docker-fabric8.bintray.io/fabric8/fabric8-console