Настройка сборки drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
476d5fcf10
commit
67cdc0555b
17
.drone.yml
17
.drone.yml
@ -6,6 +6,16 @@ steps:
|
||||
|
||||
- name: publish
|
||||
image: maven:3.8.4-openjdk-11
|
||||
volumes:
|
||||
- name: m2
|
||||
path: /root/.m2
|
||||
environment:
|
||||
GPG_PRIVATE_KEY:
|
||||
from_secret: GPG_PRIVATE_KEY
|
||||
MAVEN_SETTINGS:
|
||||
from_secret: MAVEN_SETTINGS
|
||||
GPG_PASSPHRASE:
|
||||
from_secret: GPG_PASSPHRASE
|
||||
commands:
|
||||
- echo "$GPG_PRIVATE_KEY" >> gpg.key
|
||||
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
||||
@ -14,4 +24,9 @@ steps:
|
||||
|
||||
trigger:
|
||||
# ref:
|
||||
# - refs/tags/v.*.*.*
|
||||
# - refs/tags/v.*.*.*
|
||||
|
||||
volumes:
|
||||
- name: m2
|
||||
host:
|
||||
path: ${PATH_MAVEN_M2}
|
Loading…
Reference in New Issue
Block a user