add github action

This commit is contained in:
Sergi Alonso 2020-02-20 16:25:33 +01:00
parent 11da147df9
commit 54cef7233b
2 changed files with 18 additions and 0 deletions
.github/workflows
action.yml

12
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: docker bench security action
on: [push]
jobs:
actions:
runs-on: ubuntu-latest
name: A job to check docker bench security issues
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Docker bench security
uses: ./ # Uses an action in the root directory

6
action.yml Normal file
View file

@ -0,0 +1,6 @@
# action.yml
name: "docker bench security"
description: "docker bench security"
runs:
using: "docker"
image: "Dockerfile"