Skip to content

Commit

Permalink
docs: Add note to pin Docker image by its digest for enhanced security
Browse files Browse the repository at this point in the history
  • Loading branch information
5000164 committed Jul 16, 2024
1 parent 05f3fa5 commit 80bbe23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docs/installation/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ if you want to pin your action to a specific release (v0.23 for example) for sta
...
```

For enhanced security, you can also specify the Docker image by its digest:
```yaml
...
steps:
- name: PR Agent action step
id: pragent
uses: docker://codiumai/pr-agent@sha256:14165e525678ace7d9b51cda8652c2d74abb4e1d76b57c4a6ccaeba84663cc64
...
```

2) Add the following secret to your repository under `Settings > Secrets and variables > Actions > New repository secret > Add secret`:

```
Expand Down

0 comments on commit 80bbe23

Please sign in to comment.