Настройка сборки drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Struchkov Mark 2022-12-17 13:56:15 +03:00
parent 476d5fcf10
commit 67cdc0555b

View File

@ -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
@ -15,3 +25,8 @@ steps:
trigger:
# ref:
# - refs/tags/v.*.*.*
volumes:
- name: m2
host:
path: ${PATH_MAVEN_M2}