@cryptotaxi247 / netdata-1 / commits / 7b6bc6180

Origin-sign all DEB packages regardless of upload target. (#18372)

Austin S. Hemmelgarn committed Aug 20, 2024 at 09:43 UTC 7b6bc618027c833ae7af0ea8ec77ed2ce363654b
1 file changed +11 -11
.github/workflows/packaging.yml
+11 -11
@@ -299,17 +299,6 @@ jobs:
299 key: ${{ secrets.NETDATABOT_PACKAGES_SSH_KEY }}
300 name: id_ecdsa
301 known_hosts: ${{ secrets.PACKAGES_KNOWN_HOSTS }}
302 - - name: Upload to packages.netdata.cloud
303 - id: package-upload
304 - continue-on-error: true
305 - if: github.event_name == 'workflow_dispatch' && github.repository == 'netdata/netdata' && needs.file-check.outputs.run == 'true'
306 - run: |
307 - .github/scripts/package-upload.sh \
308 - packages.netdata.cloud \
309 - ${{ matrix.repo_distro }} \
310 - ${{ matrix.arch }} \
311 - ${{ matrix.format }} \
312 - ${{ needs.version-check.outputs.repo }}
302 - name: Import GPG Keys
303 id: import-keys
304 if: needs.file-check.outputs.run == 'true' && matrix.format == 'deb' && github.event_name != 'pull_request'
@@ -321,6 +310,17 @@ jobs:
310 if: needs.file-check.outputs.run == 'true' && matrix.format == 'deb' && github.event_name != 'pull_request'
311 shell: bash
312 run: .github/scripts/deb-sign.sh artifacts ${{ steps.import-keys.outputs.fingerprint }}
313 + - name: Upload to packages.netdata.cloud
314 + id: package-upload
315 + continue-on-error: true
316 + if: github.event_name == 'workflow_dispatch' && github.repository == 'netdata/netdata' && needs.file-check.outputs.run == 'true'
317 + run: |
318 + .github/scripts/package-upload.sh \
319 + packages.netdata.cloud \
320 + ${{ matrix.repo_distro }} \
321 + ${{ matrix.arch }} \
322 + ${{ matrix.format }} \
323 + ${{ needs.version-check.outputs.repo }}
324 - name: Upload to packages2.netdata.cloud
325 id: package2-upload
326 if: github.event_name == 'workflow_dispatch' && github.repository == 'netdata/netdata' && needs.file-check.outputs.run == 'true'