Skip to content

Commit

Permalink
Added more info about GPC secretes
Browse files Browse the repository at this point in the history
  • Loading branch information
ToreMerkely committed Sep 27, 2024
1 parent 190585a commit 19dfac5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
11 changes: 10 additions & 1 deletion secrets/gh-repo-gpg-passphrase.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ secret-updated:
secret-updated-by:
secret-type: gh-repo
is-secret: true
secret-usage:
secret-usage: Used to have a signe git commit for helm chart.
Used together with GPG_PRIVATE_KEY and
commiter in Create Pull Request in helm-chart.yml

update-instructions:
Instructions here: https://github.com/crazy-max/ghaction-import-gpg?tab=readme-ov-file#prerequisites

# macOS (not tested)
gpg --armor --export-secret-key $(git config user.email) | pbcopy

# Ubuntu (assuming GNU base64)
gpg --armor --export-secret-key $(git config user.email) -w0 | xclip -sel clip
19 changes: 18 additions & 1 deletion secrets/gh-repo-gpg-private-key.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ secret-updated:
secret-updated-by:
secret-type: gh-repo
is-secret: true
secret-usage:
secret-usage: Used to have a signe git commit for helm chart.
Used together with GPG_PRIVATE_KEY and
commiter in Create Pull Request in helm-chart.yml

update-instructions:
Instructions taken from here, bu
https://github.com/crazy-max/ghaction-import-gpg?tab=readme-ov-file#prerequisites

# macOS
gpg --armor --export-secret-key $(git config user.email) | pbcopy

# Ubuntu
# Run this command and give a passphrase when asked. Rember the passphrase
gpg --armor --export-secret-key $(git config user.email) -w0 | xclip -sel clip

Go to https://github.com/kosli-dev/cli/settings/secrets/actions
under <Repository secrets>
And set both the GPG_PRIVATE_KEY and GPG_PASSPHRASE

OBS. Also update commiter in .github/workflows/helm-chart.yml

0 comments on commit 19dfac5

Please sign in to comment.