Skip to content

Commit

Permalink
Merge pull request #32 from fatalbanana/scan_action
Browse files Browse the repository at this point in the history
Add workflow to check image security; README badges
  • Loading branch information
vstakhov committed Jul 14, 2024
2 parents c08508d + d9515d5 commit 0d54d07
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: security

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
security_check:
runs-on: "ubuntu-latest"
steps:
- name: Run grype
uses: anchore/scan-action@v4
with:
image: rspamd/rspamd:latest
only-fixed: true
severity-cutoff: low
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Rspamd Docker image 📨 🐋

[![GHA](https://github.com/rspamd/rspamd-docker/actions/workflows/release.yml/badge.svg)](https://github.com/rspamd/rspamd-docker/actions/workflows/release.yml)
[![GHA](https://github.com/rspamd/rspamd-docker/actions/workflows/security.yml/badge.svg)](https://github.com/rspamd/rspamd-docker/actions/workflows/security.yml)
[![GHA](https://github.com/rspamd/rspamd-docker/actions/workflows/nightly.yml/badge.svg)](https://github.com/rspamd/rspamd-docker/actions/workflows/nightly.yml)

## Basic usage

~~~
Expand All @@ -19,10 +23,10 @@ Version numbers below are for illustration only & may not reflect latest release
| tag | description |
|-----|-------------|
| latest | latest stable release |
| 3.8 | latest stable release in 3.8 series |
| 3.8.0 | latest build of version 3.8.0 |
| 3.9 | latest stable release in 3.9 series |
| 3.9.0 | latest build of version 3.9.0 |
| nightly | unstable rolling release, built nightly |
| asan-latest, asan-3.8, asan-3.8.0, asan-nightly | ASAN variants of images |
| asan-latest, asan-3.9, asan-3.9.0, asan-nightly | ASAN variants of images |

## Container orchestration

Expand Down

0 comments on commit 0d54d07

Please sign in to comment.