diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ea2b20c7..d6e6f444 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,6 +16,17 @@ jobs:
distribution: temurin
java-version: 8
+ - uses: actions/checkout@v2
+ with:
+ repository: streamnative/streamnative-ci
+ token: ${{ secrets.SNBOT_GITHUB_TOKEN }}
+ ref: master
+ path: ci
+
+ - name: Import GPG key
+ run: |
+ ci/.github/bot/setup-git.sh
+
- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
diff --git a/pom.xml b/pom.xml
index 53a59bce..32c5f71f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -482,6 +482,25 @@
release
+
+ maven-gpg-plugin
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+ --pinentry-mode
+ loopback
+
+
+
org.sonatype.plugins
nexus-staging-maven-plugin