mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Merge pull request #288 from slootjes/patch-1
Add Bitbucket Pipelines example
This commit is contained in:
commit
045fc1519b
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**
|
- ✅ **Azure Pipelines**
|
||||||
- ✅ **CircleCI**
|
- ✅ **CircleCI**
|
||||||
- ✅ **Jenkins**
|
- ✅ **Jenkins**
|
||||||
|
- ✅ **Bitbucket Pipelines**
|
||||||
|
|
||||||
## GitHub Actions Example
|
## 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.
|
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
|
||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue