diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d01a72e9c..3f080c129 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,8 +19,8 @@ jobs: - name: Publish to Maven Central run: ./gradlew publishEmbeddedPublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository env: - ORG_GRADLE_PROJECT_signKey: ${{ secrets.SIGN_KEY }} - ORG_GRADLE_PROJECT_signKeyPass: ${{ secrets.SIGN_KEY_PASS }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} - name: Push To Docker Hub diff --git a/build.gradle.kts b/build.gradle.kts index 5fa7f664e..5ec7c6413 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -354,9 +354,9 @@ publishing { } signing { - val signKey: String? by project - val signKeyPass: String? by project - useInMemoryPgpKeys(signKey, signKeyPass) + val signingKey: String? by project + val signingPassword: String? by project + useInMemoryPgpKeys(signingKey, signingPassword) sign(publishing.publications["embedded"]) }