forked from georgexiang/wercker-springboot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
29 lines (29 loc) · 875 Bytes
/
wercker.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
box: combient/java-mvn
build:
steps:
# Build Spring Boot Sample application
- script:
name: Maven install
code: mvn install
push:
steps:
# Push to public docker repo
- internal/docker-push:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD
tag: latest
repository: $DOCKER_REPOSITORY
#registry: https://registry.hub.docker.com
registry: $DOCKER_REGISTRY
cmd: java -jar /pipeline/source/target/springbootdemo-0.0.1.war
deploy-accs:
steps:
# Deploy to Oracle Application Container Cloud
- peternagy/[email protected]:
opc_user: $OPC_USERNAME
opc_password: $OPC_PASSWORD
rest_url: $REST_URL
domain: $IDENTITY_DOMAIN
application_name: springboot-accs-demo
application_type: java
file: springbootdemo-0.0.1.zip