Skip to content

Commit d1dae6b

Browse files
committed
Shred and remove GPG private key at the end of the action.
1 parent 0f4412e commit d1dae6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ jobs:
143143
RELEASE_DATE: ${{ env.RELEASE_DATE }}
144144
IS_PRERELEASE: ${{ needs.create_release.outputs.is_prerelease }}
145145

146+
- name: Shred and remove GPG private key
147+
run: |
148+
shred -vzun 3 "${GPG_PRIVATE_KEY_FILE}"
149+
shell: bash
150+
146151
build_upload_docker:
147152
name: Build & Upload Docker Image
148153
needs: create_release

0 commit comments

Comments
 (0)