feat: add tflint 0.59.1
- builds the tflint package
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Download tflint binary
|
||||
wget -O /app/tflint_linux_amd64.zip https://github.com/terraform-linters/tflint/releases/download/v${PACKAGE_VERSION}/tflint_linux_amd64.zip
|
||||
|
||||
# Extract the binary
|
||||
unzip -j /app/tflint_linux_amd64.zip -d /app/
|
||||
|
||||
# Build the RPM
|
||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
||||
Reference in New Issue
Block a user