forked from weaveworks/prom-aggregation-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (29 loc) · 1.13 KB
/
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
machine:
services:
- docker
environment:
PATH: /usr/local/go/bin:$HOME/bin:$PATH
dependencies:
cache_directories:
- "~/docker"
post:
- |
cd aggate-build &&
../tools/rebuild-image quay.io/weaveworks/aggate-build . build.sh Dockerfile &&
touch .uptodate
test:
override:
- make RM= lint
- make RM=
deployment:
push:
branch: master
commands:
- docker login -e "." -u "$QUAY_USER" -p "$QUAY_PASSWORD" quay.io
- docker push quay.io/weaveworks/prom-aggregation-gateway:$(./tools/image-tag)
- docker push quay.io/weaveworks/prom-aggregation-gateway:latest
- docker login -e "$DOCKER_REGISTRY_EMAIL" -u "$DOCKER_REGISTRY_USER" -p "$DOCKER_REGISTRY_PASSWORD"
- docker tag quay.io/weaveworks/prom-aggregation-gateway:$(./tools/image-tag) weaveworks/prom-aggregation-gateway:latest
- docker tag quay.io/weaveworks/prom-aggregation-gateway:$(./tools/image-tag) weaveworks/prom-aggregation-gateway:$(./tools/image-tag)
- docker push weaveworks/prom-aggregation-gateway:$(./tools/image-tag)
- docker push weaveworks/prom-aggregation-gateway:latest