-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
31 lines (29 loc) · 1.02 KB
/
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
30
# This references an OpenJDK container from the
# Docker Hub https://hub.docker.com/_/openjdk/
# Read more about containers on our dev center
# http://devcenter.wercker.com/docs/containers/index.html
box: openjdk:8-jdk
# This is the build pipeline. Pipelines are the core of wercker
# Read more about pipelines on our dev center
# http://devcenter.wercker.com/docs/pipelines/index.html
build:
# Steps make up the actions in your pipeline
# Read more about steps on our dev center:
# http://devcenter.wercker.com/docs/steps/index.html
steps:
# https://github.com/wercker/step-maven
- wercker/maven:
goals: install
cache_repo: true
version: 3.5.2
- internal/docker-build:
dockerfile: simple-service/target/Dockerfile
# dockerfile: Dockerfile
image-name: helloworld
nocache: true
- internal/docker-push:
image-name: helloworld
username: $USERNAME
password: $PASSWORD
repository: docker.io/$USERNAME/helloworld
tag: latest