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
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: gradle:7.1-jdk11
|
||||
commands:
|
||||
- gradle test
|
||||
# - name: test
|
||||
# image: gradle:7.1-jdk11
|
||||
# commands:
|
||||
# - gradle test
|
||||
|
||||
- name: build
|
||||
image: gradle:7.1-jdk11
|
||||
|
@ -26,10 +26,10 @@ steps:
|
|||
- name: containerize
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: ${CRE_REGISTRY_IMAGE}
|
||||
repo: [ CRE_REGISTRY_IMAGE ]
|
||||
tags:
|
||||
- latest
|
||||
- ${CRE_VERSION}
|
||||
- [ CRE_VERSION ]
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
|
Loading…
Reference in New Issue