Skip to content

Commit

Permalink
updating the pipeline file to use the answer key
Browse files Browse the repository at this point in the history
Signed-off-by: wdower <[email protected]>
  • Loading branch information
wdower committed Dec 9, 2024
1 parent 0161833 commit 2edc5a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pipeline_answer_key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2edc5a7

Please sign in to comment.