Изменение cicd

This commit is contained in:
Struchkov Mark 2023-01-17 02:24:54 +03:00
parent 67dce6f0bd
commit cf8d34976e
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -78,7 +78,7 @@ volumes:
steps: steps:
- name: publish maven central - name: publish struchkov nexus
image: maven:3.8.5-openjdk-17 image: maven:3.8.5-openjdk-17
privileged: true privileged: true
volumes: volumes:
@ -95,10 +95,10 @@ steps:
- 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 release-struchkov-nexus clean deploy - mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy
--- ---
kind: signature kind: signature
hmac: debf5624439f00ad94ba1b1dc172034ccf94c2048ee5ea003540a18623c8c635 hmac: 71ee750060bc4bee918fc4d22fb40b233e2357841a81f38d7be83ca8ffcf586c
... ...