Creates a base image
TF:OP
To run config script locally:
$ docker build -t mybase:image_ci .
$ docker run -d -i mybase:image_ci
To run Packer locally:
$ packer build ./Packerfile.pkr.hcl
Run InSpec (cinc-auditor) against Docker container.
$ bundle install
$ bundle exec cinc-auditor exec ./test/integration/base_config -t docker://<container id>
Upon each push, CI will be triggered to run on GitHub Actions.
- Create a branch off of
main
. - Make your change.
- Add a test for your change (
test/integration/default
). - See the CI builds section below and ensure your build is green!
- Open a PR back into
main
.