fixed cicd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2024-06-24 16:51:33 +03:00
parent 4911456cbb
commit 9e345b2ed1
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -13,7 +13,6 @@ volumes:
path: /drone/volume/m2 path: /drone/volume/m2
steps: steps:
- name: publish - name: publish
image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine
privileged: true privileged: true
@ -44,7 +43,6 @@ volumes:
path: /drone/volume/m2 path: /drone/volume/m2
steps: steps:
- name: publish maven central - name: publish maven central
image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine
privileged: true privileged: true
@ -59,6 +57,7 @@ steps:
GPG_PASSPHRASE: GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE from_secret: GPG_PASSPHRASE
commands: commands:
- apk add --no-cache 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
@ -81,7 +80,6 @@ volumes:
path: /drone/volume/m2 path: /drone/volume/m2
steps: steps:
- name: publish struchkov nexus - name: publish struchkov nexus
image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine
privileged: true privileged: true
@ -96,6 +94,7 @@ steps:
GPG_PASSPHRASE: GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE from_secret: GPG_PASSPHRASE
commands: commands:
- apk add --no-cache 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
@ -151,6 +150,6 @@ image_pull_secrets:
# path: /drone/volume/mkdocs_cache/godfather_telegram/spring/ru # path: /drone/volume/mkdocs_cache/godfather_telegram/spring/ru
--- ---
kind: signature kind: signature
hmac: 34e42dae6623cfc54bc51b79219a79564fcbac0f5e7463d3d9ac485756350b4b hmac: 888a81f78d73d24d45c080c5c9250ed58888e8217c7d67d27af9baa5ce861a82
... ...