Skip to content

Commit

Permalink
feat: add a maintainer
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <[email protected]>
  • Loading branch information
knqyf263 committed May 8, 2024
1 parent 08fef04 commit 65fe6d4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Generate a list of plugins
run: |
mkdir -p site/data/v1 site/v1
cat plugins/*.yaml > site/data/plugins.yaml
run: cat plugins/*.yaml > site/data/plugins.yaml
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
Expand Down
1 change: 1 addition & 0 deletions plugins/aqua.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- name: aqua
maintainer: aquasecurity
summary: A plugin for integration with Aqua Security SaaS platform
repo: https://github.com/aquasecurity/trivy-plugin-aqua
1 change: 1 addition & 0 deletions plugins/kubectl.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- name: kubectl
maintainer: aquasecurity
summary: A plugin scanning the images of a kubernetes resource
repo: https://github.com/aquasecurity/trivy-plugin-kubectl
4 changes: 3 additions & 1 deletion site/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ <h1>{{ .Site.Title }}</h1>
<th>Name</th>
<th>Type</th>
<th>Description</th>
<th>Maintainer</th>
<th>Repository</th>
</tr>
</thead>
<tbody>
{{ range .Site.Data.v1.plugins }}
{{ range .Site.Data.plugins }}
<tr>
<td><a href="{{ .repo }}" target="_blank">{{ .name }}</a></td>
<td>{{ if .type }}{{ .type }}{{ else }}generic{{ end }}</td>
<td>{{ .summary }}</td>
<td>{{ .maintainer }}</td>
<td>
<a href="{{ .repo }}" target="_blank">
<img src="https://img.shields.io/github/stars/{{ replace .repo "https://github.com/" "" }}?style=social" alt="GitHub stars">
Expand Down
3 changes: 1 addition & 2 deletions site/static/css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.header {
background-color: #f8f9fa;
padding: 10px 0;
margin: 0;
margin-bottom: 30px;
margin: 0 0 30px;
}

.logo {
Expand Down

0 comments on commit 65fe6d4

Please sign in to comment.