mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add Bitbucket Pipelines example
This commit is contained in:
parent
31b5f73197
commit
b25d405972
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
|
@ -271,6 +271,7 @@ iex "& { $(iwr 'https://github.com/AikidoSec/safe-chain/releases/latest/download
|
|||
- ✅ **Azure Pipelines**
|
||||
- ✅ **CircleCI**
|
||||
- ✅ **Jenkins**
|
||||
- ✅ **Bitbucket Pipelines**
|
||||
|
||||
## GitHub Actions Example
|
||||
|
||||
|
|
@ -360,6 +361,21 @@ pipeline {
|
|||
}
|
||||
```
|
||||
|
||||
## Bitbucket Pipelines Example
|
||||
|
||||
```yaml
|
||||
image: node:22
|
||||
|
||||
steps:
|
||||
- step:
|
||||
name: Install
|
||||
script:
|
||||
- npm install -g @aikidosec/safe-chain
|
||||
- safe-chain setup-ci
|
||||
- export PATH=~/.safe-chain/shims:$PATH
|
||||
- npm ci
|
||||
```
|
||||
|
||||
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
|
||||
|
||||
# Troubleshooting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue