From adcdec55650dffa13a5d2d8583171de3995fe5e0 Mon Sep 17 00:00:00 2001 From: Ankush Jain <91221068+ankush-jain-akto@users.noreply.github.com> Date: Thu, 19 Oct 2023 10:00:08 -0700 Subject: [PATCH] add docker-test --- .github/workflows/devsecops.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/devsecops.yml b/.github/workflows/devsecops.yml index 8b137891791..61e43f3c94e 100644 --- a/.github/workflows/devsecops.yml +++ b/.github/workflows/devsecops.yml @@ -1 +1,22 @@ +name: Main Branch + +on: + workflow_dispatch: + inputs: + testing: + type: choice + options: + - SAST/SCA + - DAST/IAST + required: true + +jobs: + docker-test: + runs-on: ubuntu-latest + steps: + - name: "Check out Git repository" + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0 + - name: "Execute smoke test on Docker" + run: docker-compose -f docker-compose.test.yml up --exit-code-from sut +