https://github.com/rsteube/klar-ci
https://github.com/rsteube/klar-ci
clair docker gitlab-ci scanner static-analysis vulnerability
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rsteube/klar-ci
- Owner: rsteube
- License: mit
- Created: 2018-03-02T14:30:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T14:24:32.000Z (about 8 years ago)
- Last Synced: 2025-03-28T16:21:18.186Z (about 1 year ago)
- Topics: clair, docker, gitlab-ci, scanner, static-analysis, vulnerability
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# klar-ci
[coreos/clair](https://github.com/coreos/clair) docker container extended with [optiopay/klar](https://github.com/optiopay/klar) for ease of use within [gitlab-ci](https://about.gitlab.com/features/gitlab-ci-cd/).
## dockerhub with gitlab-ci
```yaml
services:
- name: arminc/clair-db
alias: postgres
image: rsteube/klar-ci
nginx:
script: klar-ci nginx
```
## amazon ecr with gitlab-ci
```yaml
variables:
#AWS_ACCESS_KEY_ID
#AWS_SECRET_ACCESS_KEY
AWS_REGION: eu-central-1
services:
- name: arminc/clair-db
alias: postgres
image: rsteube/klar-ci
nginx:
script: klar-ci nginx
oauth2-proxy:
script: klar-ci oauth2-proxy
```