Merge pull request #8 from mitre/mapperCourse #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Demo Gold Image Pipeline for NGINX | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
gold-image: | |
name: Gold Image Pipeline | |
runs-on: ubuntu-20.04 | |
env: | |
CHEF_LICENSE: accept | |
PROFILE: my_nginx | |
steps: | |
- name: Update ubuntu | |
run: sudo apt-get update -y | |
- name: PREP - Install InSpec executable | |
run: curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P inspec -v 5 | |
- name: PREP - Install profile | |
uses: actions/checkout@v3 |