forked from is00hcw/bitnami-docker-java-play
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (26 loc) · 768 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
machine:
services:
- docker
environment:
IMAGE_NAME: java-play
CHART_NAME: java-play
CHART_REPO: https://github.com/bitnami/charts
DOCKER_PROJECT: bitnami
GCLOUD_PROJECT: bitnami-containers
dependencies:
override:
- docker info
- gcloud version
- docker pull $DOCKER_PROJECT/$IMAGE_NAME:_ || true
test:
override:
- docker build --rm=false -t $DOCKER_PROJECT/$IMAGE_NAME:$CIRCLE_BUILD_NUM .
deployment:
cache:
branch: master
commands:
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-update-cache.sh | bash -
release:
tag: /^[0-9].*-r[0-9]+$/
commands:
- curl -sL https://raw.githubusercontent.com/bitnami/test-infra/master/circle/docker-release-image.sh | bash -