summaryrefslogtreecommitdiffstats
path: root/.github/workflows/repoconfig-packages.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:15:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:15:35 +0000
commitf09848204fa5283d21ea43e262ee41aa578e1808 (patch)
treec62385d7adf209fa6a798635954d887f718fb3fb /.github/workflows/repoconfig-packages.yml
parentReleasing debian version 1.46.3-2. (diff)
downloadnetdata-f09848204fa5283d21ea43e262ee41aa578e1808.tar.xz
netdata-f09848204fa5283d21ea43e262ee41aa578e1808.zip
Merging upstream version 1.47.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/repoconfig-packages.yml')
-rw-r--r--.github/workflows/repoconfig-packages.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/repoconfig-packages.yml b/.github/workflows/repoconfig-packages.yml
index 8b43a2358..bf1dd197f 100644
--- a/.github/workflows/repoconfig-packages.yml
+++ b/.github/workflows/repoconfig-packages.yml
@@ -132,6 +132,17 @@ jobs:
netdata/netdata-repoconfig \
packaging/repoconfig/artifacts
done
+ - name: Import GPG Keys
+ id: import-keys
+ if: matrix.format == 'deb' && github.event_name != 'pull_request'
+ uses: crazy-max/ghaction-import-gpg@v6
+ with:
+ gpg_private_key: ${{ secrets.NETDATABOT_PACKAGE_SIGNING_KEY }}
+ - name: Sign DEB Packages
+ id: sign-deb
+ if: matrix.format == 'deb' && github.event_name != 'pull_request'
+ shell: bash
+ run: .github/scripts/deb-sign.sh packaging/repoconfig/artifacts ${{ steps.import-keys.outputs.fingerprint }}
- name: Upload to packages2.netdata.cloud
id: package2-upload
if: github.event_name != 'pull_request' && github.repository == 'netdata/netdata'
@@ -163,5 +174,7 @@ jobs:
Publish to PackageCloud: ${{ steps.publish.outcome }}
Import SSH Key: ${{ steps.ssh-setup.outcome }}
Publish to packages.netdata.cloud: ${{ steps.package-upload.outcome }}
+ Import GPG Keys: ${{ steps.import-keys.outcome }}
+ Sign DEB Packages: ${{ steps.sign-deb.outcome }}
Publish to packages2.netdata.cloud: ${{ steps.package2-upload.outcome }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}