Add maven gpg plugin to release stage
@@ -128,6 +128,7 @@ finish release:
image: maven:3-jdk-8
stage: release
script:
+ - echo "$GPG_PRIVATE_KEY" | gpg --batch --import --passphrase "$GPG_PASSPHRASE"
- echo "$MAVEN_CREDENTIALS" > /root/.m2/settings.xml
- git remote set-url origin $GIT_REPO_ORIGIN/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME.git
- eval $(ssh-agent -s)
