update at 2021-01-21 12:00:51 by ehlxr
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
239026331e
commit
7ab2e65490
10
.drone.yml
10
.drone.yml
@ -8,6 +8,9 @@ workspace:
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: maven
|
image: maven
|
||||||
|
volumes:
|
||||||
|
- name: m2_cache # The Volume's name
|
||||||
|
path: /root/.m2 # The path in the container
|
||||||
commands:
|
commands:
|
||||||
- mvn clean install -DskipTests -e -U
|
- mvn clean install -DskipTests -e -U
|
||||||
- cp ./did-server/target/did-server*.jar ./docker
|
- cp ./did-server/target/did-server*.jar ./docker
|
||||||
@ -17,7 +20,7 @@ steps:
|
|||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: docker.ehlxr.me/ehlxr/did-server
|
repo: docker.ehlxr.me/ehlxr/did-server
|
||||||
dockerfile: ./did-server/docker/build/Dockerfile
|
dockerfile: ./docker/Dockerfile
|
||||||
registry: docker.ehlxr.me
|
registry: docker.ehlxr.me
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
@ -49,3 +52,8 @@ steps:
|
|||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
- success
|
- success
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: m2_cache # The name use in this pipeline,
|
||||||
|
host:
|
||||||
|
path: /m2_cache # The path be used in the host.
|
Loading…
Reference in New Issue
Block a user