From 3934da2b686723360f40e22da930458828567886 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Thu, 5 Oct 2023 15:37:47 +0000 Subject: [PATCH] fix(gha): update rpmsign Signed-off-by: Luca Guerra --- .github/workflows/reusable_publish_packages.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/reusable_publish_packages.yaml b/.github/workflows/reusable_publish_packages.yaml index 00d82e50de1..8e5896234c3 100644 --- a/.github/workflows/reusable_publish_packages.yaml +++ b/.github/workflows/reusable_publish_packages.yaml @@ -71,25 +71,14 @@ jobs: name: falco-${{ inputs.version }}-static-x86_64.tar.gz path: /tmp/falco-build-bin-static - - name: Import gpg key + - name: Import gpg key env: GPG_KEY: ${{ secrets.GPG_KEY }} run: printenv GPG_KEY | gpg --import - - name: Sign rpms run: | - echo "%_signature gpg" > ~/.rpmmacros - echo "%_gpg_name Falcosecurity Package Signing" >> ~/.rpmmacros - echo "%__gpg_sign_cmd %{__gpg} --force-v3-sigs --batch --no-armor --passphrase-fd 3 --no-secmem-warning -u \"%{_gpg_name}\" -sb --digest-algo sha256 %{__plaintext_filename}'" >> ~/.rpmmacros - cat > ~/sign <