mkdocs: add migration nav

This commit is contained in:
ronaudinho
2021-02-27 14:21:11 +07:00
parent f1d2ad7a4e
commit e2924aeb87
5 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1 @@
No need to fix.

View File

@@ -0,0 +1,8 @@
Use `https://aquasecurity.github.io` instead of `https://knqyf263.github.io`.
```bash
$ apt-get remove --purge trivy
$ sed -i s/knqyf263/aquasecurity/g /etc/apt/sources.list.d/trivy.list
$ apt-get update
$ apt-get install trivy
```

View File

@@ -0,0 +1,7 @@
Tap aquasecurity/trivy
```bash
$ brew uninstall --force trivy
$ brew untap knqyf263/trivy
$ brew install aquasecurity/trivy/trivy
```

View File

@@ -0,0 +1,12 @@
On 19 August 2019, Trivy's repositories moved from `knqyf263/trivy` to `aquasecurity/trivy`. If you previously installed Trivy you should update any scripts or package manager records as described in this section.
If you have a script that installs Trivy (for example into your CI pipelines) you should update it to obtain it from the new location by replacing knqyf263/trivy with aquasecurity/trivy.
For example:
```bash
# Before
$ wget https://github.com/knqyf263/trivy/releases/download/v${VERSION}/trivy_${VERSION}_Linux-64bit.tar.gz
# After
$ wget https://github.com/aquasecurity/trivy/releases/download/v${VERSION}/trivy_${VERSION}_Linux-64bit.tar.gz
```

View File

@@ -0,0 +1,8 @@
Use `https://aquasecurity.github.io` instead of `https://knqyf263.github.io`.
```bash
$ yum remove trivy
$ sed -i s/knqyf263/aquasecurity/g /etc/yum.repos.d/trivy.repo
$ yum update
$ yum install trivy
```