Skip to content

Commit

Permalink
try on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Feb 26, 2024
1 parent ed8c72a commit 76ea8a2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-deploy-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Import GPG Key and List Key IDs
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
run: |
echo "$GPG_PRIVATE_KEY" | gpg --import
# Directly list the keys to see all available information
gpg --list-secret-keys --keyid-format LONG
- name: Import GPG Key
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
Expand All @@ -90,6 +98,13 @@ jobs:
git config --global user.signingkey $GPG_KEY_ID
git config --global commit.gpgsign true
- name: Verify Key ID
run: |
# The following command prints the key IDs of all private keys in the keyring
# It does not expose private key material
gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2
- uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}
Expand Down

0 comments on commit 76ea8a2

Please sign in to comment.