Skip to content

Commit

Permalink
inMemoryPgpKeys
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian G <cristian.castro@iohk.io>
  • Loading branch information
cristianIOHK committed Jul 18, 2024
1 parent 5f711e2 commit 8756eb3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,14 @@ allprojects {
}

signing {
useInMemoryPgpKeys(String(Base64.getDecoder().decode(base64EncodedAsciiArmoredSigningKey.toByteArray())), signingKeyPassword)
val base64EncodedAsciiArmoredSigningKey: String = System.getenv("BASE64_ARMORED_GPG_SIGNING_KEY_MAVEN") ?: ""
val signingKeyPassword: String = System.getenv("SIGNING_KEY_PASSWORD") ?: ""
useInMemoryPgpKeys(
String(
Base64.getDecoder().decode(base64EncodedAsciiArmoredSigningKey.toByteArray())
),
signingKeyPassword
)
// useInMemoryPgpKeys(
// project.findProperty("signing.signingSecretKey") as String?
// ?: System.getenv("OSSRH_GPG_SECRET_KEY"),
Expand Down

0 comments on commit 8756eb3

Please sign in to comment.