From 9e345b2ed17026a470aa96ffb6e574e062adf8f6 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Mon, 24 Jun 2024 16:51:33 +0300 Subject: [PATCH] fixed cicd --- .drone.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f2067d7..c08ee22 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,6 @@ volumes: path: /drone/volume/m2 steps: - - name: publish image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine privileged: true @@ -44,7 +43,6 @@ volumes: path: /drone/volume/m2 steps: - - name: publish maven central image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine privileged: true @@ -59,6 +57,7 @@ steps: GPG_PASSPHRASE: from_secret: GPG_PASSPHRASE commands: + - apk add --no-cache gnupg - echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$MAVEN_SETTINGS" >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key @@ -81,7 +80,6 @@ volumes: path: /drone/volume/m2 steps: - - name: publish struchkov nexus image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine privileged: true @@ -96,6 +94,7 @@ steps: GPG_PASSPHRASE: from_secret: GPG_PASSPHRASE commands: + - apk add --no-cache gnupg - echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$MAVEN_SETTINGS" >> maven-settings.xml - 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 --- kind: signature -hmac: 34e42dae6623cfc54bc51b79219a79564fcbac0f5e7463d3d9ac485756350b4b +hmac: 888a81f78d73d24d45c080c5c9250ed58888e8217c7d67d27af9baa5ce861a82 ...