Update drone CI/CD
This commit is contained in:
parent
78882ae251
commit
6e5c40f078
12
.drone.yml
12
.drone.yml
|
@ -9,10 +9,10 @@ environment:
|
||||||
CRE_PORT: 9090
|
CRE_PORT: 9090
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
# - name: test
|
||||||
image: gradle:7.1-jdk11
|
# image: gradle:7.1-jdk11
|
||||||
commands:
|
# commands:
|
||||||
- gradle test
|
# - gradle test
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: gradle:7.1-jdk11
|
image: gradle:7.1-jdk11
|
||||||
|
@ -26,10 +26,10 @@ steps:
|
||||||
- name: containerize
|
- name: containerize
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: ${CRE_REGISTRY_IMAGE}
|
repo: [ CRE_REGISTRY_IMAGE ]
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${CRE_VERSION}
|
- [ CRE_VERSION ]
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in New Issue