From 2edc5a72d14b6f1890c81e906ce401c898aad679 Mon Sep 17 00:00:00 2001 From: wdower <57142072+wdower@users.noreply.github.com> Date: Mon, 9 Dec 2024 06:36:32 +0000 Subject: [PATCH] updating the pipeline file to use the answer key Signed-off-by: wdower <57142072+wdower@users.noreply.github.com> --- .github/workflows/pipeline_answer_key.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline_answer_key.yml b/.github/workflows/pipeline_answer_key.yml index 54e9056..6ba8619 100644 --- a/.github/workflows/pipeline_answer_key.yml +++ b/.github/workflows/pipeline_answer_key.yml @@ -4,7 +4,7 @@ name: Demo Security Validation Gold Image Pipeline on: push: # trigger this action on any push to main branch - branches: [ main, pipeline ] + branches: [ main, pipeline, answer_key ] jobs: gold-image: @@ -14,7 +14,7 @@ jobs: # so that we can use InSpec without manually accepting the license CHEF_LICENSE: accept # path to our profile - PROFILE: my_nginx + PROFILE: my_nginx_answer_key steps: # updating all dependencies is always a good start - name: PREP - Update runner @@ -62,7 +62,7 @@ jobs: continue-on-error: true run: | inspec exec $PROFILE \ - --input-file=$PROFILE/inputs-linux.yml \ + --input-file=$PROFILE/inputs.yml \ --target docker://nginx \ --reporter cli json:results/pipeline_run.json