Переход на jakarta

This commit is contained in:
Struchkov Mark 2023-05-16 16:37:20 +03:00
parent 5188c4871e
commit 68aef7bce4
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -44,7 +44,7 @@ volumes:
steps: steps:
- name: publish maven central - name: publish maven central
image: maven:3.9-eclipse-temurin-17 image: maven:3.9-eclipse-temurin-17-alpine
privileged: true privileged: true
volumes: volumes:
- name: m2 - name: m2
@ -57,6 +57,7 @@ steps:
GPG_PASSPHRASE: GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE from_secret: GPG_PASSPHRASE
commands: commands:
- apk add gnupg
- echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$GPG_PRIVATE_KEY" >> gpg.key
- echo "$MAVEN_SETTINGS" >> maven-settings.xml - echo "$MAVEN_SETTINGS" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
@ -79,7 +80,7 @@ volumes:
steps: steps:
- name: publish struchkov nexus - name: publish struchkov nexus
image: maven:3.9-eclipse-temurin-17 image: maven:3.9-eclipse-temurin-17-alpine
privileged: true privileged: true
volumes: volumes:
- name: m2 - name: m2
@ -92,12 +93,13 @@ steps:
GPG_PASSPHRASE: GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE from_secret: GPG_PASSPHRASE
commands: commands:
- apk add gnupg
- echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$GPG_PRIVATE_KEY" >> gpg.key
- echo "$MAVEN_SETTINGS" >> maven-settings.xml - echo "$MAVEN_SETTINGS" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
- mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy - mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy
--- ---
kind: signature kind: signature
hmac: 9238ae36e836c6c8af41ef5bafc021af86214ba15103bfd0273c52b92c34aa78 hmac: 34f1fada73f15de54c9080f58b6f24186aeb1b89461f4b8480904f7eb860d94e
... ...