Update: buildspec.yml

- removed the branch checkout
- moved all the commands to the install phase
per comments by w0rmr1d3r
This commit is contained in:
Geoff Singer
2021-09-02 09:28:22 -05:00
parent 74a2f5ba03
commit ea337993c3

View File

@@ -11,12 +11,11 @@ phases:
- unzip awscliv2.zip
- ./aws/install
- git clone https://github.com/toniblyx/prowler
- cd prowler
build:
commands:
- echo "Running Prowler as ./prowler $PROWLER_OPTIONS"
- cd prowler
- git checkout 2.5
- ./prowler $PROWLER_OPTIONS || true
post_build:
commands: