From 68aef7bce4fe0601b681dc9b55a434902861cc57 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Tue, 16 May 2023 16:37:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=85=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=BD=D0=B0=20jakarta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index dc42e7a..5bce7ab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,7 +44,7 @@ volumes: steps: - name: publish maven central - image: maven:3.9-eclipse-temurin-17 + image: maven:3.9-eclipse-temurin-17-alpine privileged: true volumes: - name: m2 @@ -57,6 +57,7 @@ steps: GPG_PASSPHRASE: from_secret: GPG_PASSPHRASE commands: + - apk add gnupg - echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$MAVEN_SETTINGS" >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key @@ -79,7 +80,7 @@ volumes: steps: - name: publish struchkov nexus - image: maven:3.9-eclipse-temurin-17 + image: maven:3.9-eclipse-temurin-17-alpine privileged: true volumes: - name: m2 @@ -92,12 +93,13 @@ steps: GPG_PASSPHRASE: from_secret: GPG_PASSPHRASE commands: + - apk add gnupg - echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$MAVEN_SETTINGS" >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key - mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy --- kind: signature -hmac: 9238ae36e836c6c8af41ef5bafc021af86214ba15103bfd0273c52b92c34aa78 +hmac: 34f1fada73f15de54c9080f58b6f24186aeb1b89461f4b8480904f7eb860d94e ...