Skip to content

Commit 0d54d07

Browse files
authored
Merge pull request #32 from fatalbanana/scan_action
Add workflow to check image security; README badges
2 parents c08508d + d9515d5 commit 0d54d07

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

.github/workflows/security.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: security
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
security_check:
10+
runs-on: "ubuntu-latest"
11+
steps:
12+
- name: Run grype
13+
uses: anchore/scan-action@v4
14+
with:
15+
image: rspamd/rspamd:latest
16+
only-fixed: true
17+
severity-cutoff: low

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Rspamd Docker image 📨 🐋
22

3+
[![GHA](https://github.com/rspamd/rspamd-docker/actions/workflows/release.yml/badge.svg)](https://github.com/rspamd/rspamd-docker/actions/workflows/release.yml)
4+
[![GHA](https://github.com/rspamd/rspamd-docker/actions/workflows/security.yml/badge.svg)](https://github.com/rspamd/rspamd-docker/actions/workflows/security.yml)
5+
[![GHA](https://github.com/rspamd/rspamd-docker/actions/workflows/nightly.yml/badge.svg)](https://github.com/rspamd/rspamd-docker/actions/workflows/nightly.yml)
6+
37
## Basic usage
48

59
~~~
@@ -19,10 +23,10 @@ Version numbers below are for illustration only & may not reflect latest release
1923
| tag | description |
2024
|-----|-------------|
2125
| latest | latest stable release |
22-
| 3.8 | latest stable release in 3.8 series |
23-
| 3.8.0 | latest build of version 3.8.0 |
26+
| 3.9 | latest stable release in 3.9 series |
27+
| 3.9.0 | latest build of version 3.9.0 |
2428
| nightly | unstable rolling release, built nightly |
25-
| asan-latest, asan-3.8, asan-3.8.0, asan-nightly | ASAN variants of images |
29+
| asan-latest, asan-3.9, asan-3.9.0, asan-nightly | ASAN variants of images |
2630

2731
## Container orchestration
2832

0 commit comments

Comments
 (0)