From b6670a1281eac59c5abc1de5bde9dfc8ed215bb8 Mon Sep 17 00:00:00 2001 From: Sergi Alonso <sergi.alonsobdia@innovationalpha.es> Date: Thu, 20 Feb 2020 16:25:33 +0100 Subject: [PATCH] add github action Signed-off-by: Sergi Alonso <sergi.alonsobdia@innovationalpha.es> --- .github/workflows/main.yml | 12 ++++++++++++ action.yml | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 action.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9abc657 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..7bf932d --- /dev/null +++ b/action.yml @@ -0,0 +1,6 @@ +# action.yml +name: "docker bench security" +description: "docker bench security" +runs: + using: "docker" + image: "Dockerfile"