Skip to content

Commit

Permalink
Restore instructions on how to sign commits/tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed May 24, 2024
1 parent a1f9615 commit c38473b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ Use this action to create signed git artifacts:
- name: Create signed commit
uses: mongodb/drivers-github-tools/git-sign@v2
with:
command: "git commit -m 'Commit' -s --gpg-sign=${{ vars.GPG_KEY_ID }}"
- name: Create signed tag
uses: mongodb/drivers-github-tools/git-sign@v2
with:
command: "git tag -m 'Tag' -s --local-user=${{ vars.GPG_KEY_ID }} <tag>"
```

### gpg-sign
Expand Down Expand Up @@ -152,4 +156,4 @@ If `dry_run` is set, nothing will be published or pushed.
product_name: winkerberos
token: ${{ github.token }}
dry_run: ${{ inputs.dry_run }}
```
```

0 comments on commit c38473b

Please sign in to comment.