This is an automated email from the ASF dual-hosted git repository.

piergiorgio pushed a commit to branch CONNECTORS-1754
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git


The following commit(s) were added to refs/heads/CONNECTORS-1754 by this push:
     new 3f998d808 Added Dockerfile, updated the exclusion for RAT, updated the 
GitHub workflow (CONNECTORS-1754)
3f998d808 is described below

commit 3f998d8089a6a6e198c64f8fe5e98d176ee4475b
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Wed Jun 12 22:22:45 2024 +0200

    Added Dockerfile, updated the exclusion for RAT, updated the GitHub 
workflow (CONNECTORS-1754)
---
 .github/workflows/create-release-candidate.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/create-release-candidate.yml 
b/.github/workflows/create-release-candidate.yml
index b28795ad8..b5f71a3f8 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -41,6 +41,8 @@ jobs:
           distribution: 'temurin'
           architecture: x64
           cache: maven
+          gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
+          gpg-passphrase: GPG_PASSPHRASE
       
       - name: Get Maven POM version
         id: mavenProjectVersion
@@ -134,9 +136,11 @@ jobs:
         uses: 
crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549
         with:
           gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
+          GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
       
       - name: Generate file hashes
         run: | 
+          echo "$GPG_PRIVATE_KEY" | gpg --batch --import --passphrase 
"$GPG_PASSPHRASE"
           gpg --armor --output apache-manifoldcf-${{ 
steps.artifactVersion.outputs.version }}-src.zip.asc --detach-sig 
apache-manifoldcf-${{ steps.artifactVersion.outputs.version }}-src.zip
           gpg --armor --output apache-manifoldcf-${{ 
steps.artifactVersion.outputs.version }}-src.tar.gz.asc --detach-sig 
apache-manifoldcf-${{ steps.artifactVersion.outputs.version }}-src.tar.gz
           gpg --armor --output apache-manifoldcf-${{ 
steps.artifactVersion.outputs.version }}-lib.zip.asc --detach-sig 
apache-manifoldcf-${{ steps.artifactVersion.outputs.version }}-lib.zip

Reply via email to