Skip to content

Commit 6a29e25

Browse files
committed
chore: fix Maven publishing GHA
Signed-off-by: BRIAN GLEESON <Brian.Gleeson@ie.ibm.com>
1 parent 894dff5 commit 6a29e25

5 files changed

Lines changed: 18 additions & 36 deletions

File tree

.cra/.cveignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,12 @@ jobs:
7878
java-version: '11'
7979
distribution: 'temurin'
8080
cache: 'maven'
81-
82-
- name: Import GPG key
83-
env:
84-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
85-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
86-
run: |
87-
echo "$GPG_PRIVATE_KEY" | base64 --decode | gpg --batch --import
88-
gpg --list-secret-keys --keyid-format LONG
81+
server-id: central
82+
server-username: CP_USERNAME
83+
server-password: CP_PASSWORD
84+
# Import GPG key into build agent's local keystore
85+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
86+
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
8987

9088
- name: Set Maven version
9189
run: mvn versions:set -DnewVersion=${{ github.ref_name }} -DgenerateBackupPoms=false

.secrets.baseline

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-08-08T16:27:26Z",
6+
"generated_at": "2026-03-09T16:18:57Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -77,6 +77,16 @@
7777
}
7878
],
7979
"results": {
80+
".github/workflows/publish.yml": [
81+
{
82+
"hashed_secret": "b8fb27ac44ff8a4d5237588af39c5fb65bbedc3f",
83+
"is_secret": false,
84+
"is_verified": false,
85+
"line_number": 83,
86+
"type": "Secret Keyword",
87+
"verified_result": null
88+
}
89+
],
8090
"modules/cd-toolchain/src/test/java/com/ibm/cloud/continuous_delivery/cd_toolchain/v2/CdToolchainTest.java": [
8191
{
8292
"hashed_secret": "8d204a8e6f883c0691207b5eed52ab2889568f71",
@@ -118,7 +128,7 @@
118128
}
119129
]
120130
},
121-
"version": "0.13.1+ibm.60.dss",
131+
"version": "0.13.1+ibm.64.dss",
122132
"word_list": {
123133
"file": null,
124134
"hash": null

build/setupSigning.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

build/signing.key.enc

-3.72 KB
Binary file not shown.

0 commit comments

Comments
 (0)