This is an automated email from the ASF dual-hosted git repository.
piergiorgio pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/manifoldcf.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4c7331f42 Fix for removing plugins from the Docker Image
(CONNECTORS-1783) and GitHub workflow
4c7331f42 is described below
commit 4c7331f42c7b06fd5cab04a97f042ac6ae6454f6
Author: Piergiorgio Lucidi <[email protected]>
AuthorDate: Wed Mar 18 14:48:10 2026 +0100
Fix for removing plugins from the Docker Image (CONNECTORS-1783) and GitHub
workflow
---
.github/workflows/create-release-candidate.yml | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/create-release-candidate.yml
b/.github/workflows/create-release-candidate.yml
index efa0aaa2d..f34018cad 100644
--- a/.github/workflows/create-release-candidate.yml
+++ b/.github/workflows/create-release-candidate.yml
@@ -37,6 +37,13 @@ jobs:
- name: Checkout
uses: actions/[email protected]
+
+ - name: Import GPG key
+ id: import_gpg
+ uses: crazy-max/[email protected]
+ with:
+ gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
+ passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Set up OpenJDK 21 Temurin x64
uses: actions/[email protected]
@@ -46,7 +53,7 @@ jobs:
architecture: x64
cache: maven
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
- gpg-passphrase: GPG_PASSPHRASE
+ gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Get Maven POM version
id: mavenProjectVersion
@@ -95,9 +102,13 @@ jobs:
- name: Ant Build
run: ant make-core-deps make-deps image
+ env:
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Maven Build
run: mvn clean install -B -DskipTests -DskipITs
+ env:
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Update MCF version in the properties.xml files
run: |
@@ -105,9 +116,9 @@ jobs:
sed -i -e 's|${{ steps.releaseVersion.outputs.version }}-dev|${{
steps.releaseVersion.outputs.version }}|g'
dist/example-proprietary/properties.xml;
sed -i -e 's|${{ steps.releaseVersion.outputs.version }}-dev|${{
steps.releaseVersion.outputs.version }}|g'
dist/multiprocess-file-example/properties.xml;
sed -i -e 's|${{ steps.releaseVersion.outputs.version }}-dev|${{
steps.releaseVersion.outputs.version }}|g'
dist/multiprocess-file-example-proprietary/properties.xml;
-
+
- name: Update Docker Image tag
- run: sed -i 's/SNAPSHOT/${{ github.event.inputs.releasecandidatetag
}}/g' Dockerfile;
+ run: sed -i -e 's/SNAPSHOT/${{ github.event.inputs.releasecandidatetag
}}/g' Dockerfile;
- name: RAT licence checks
run: mvn -pl . apache-rat:check
@@ -121,8 +132,13 @@ jobs:
- name: Commit and Push
run: |
find . -name 'pom.xml' -exec git add {} \;
- git add CHANGES.txt build.xml Dockerfile
- git add dist/example/properties.xml
dist/example-proprietary/properties.xml
dist/multiprocess-file-example/properties.xml
dist/multiprocess-file-example-proprietary/properties.xml
+ git add CHANGES.txt \
+ git add build.xml \
+ git add Dockerfile
+ git add dist/example/properties.xml
+ git add dist/example-proprietary/properties.xml
+ git add dist/multiprocess-file-example/properties.xml
+ git add dist/multiprocess-file-example-proprietary/properties.xml
git commit -am "Create ${{ github.event.inputs.releasecandidatetag
}} tag for MCF ${{ steps.mavenProjectVersion.outputs.version }}"
git push