Skip to content

Commit

Permalink
Merge pull request #15 from accurics/nitumore_patch2_TFC
Browse files Browse the repository at this point in the history
APE-8931 :- TF_CLI_CONFIG_FILE env variable is not respected in accurics scan/terrascan
  • Loading branch information
hapyharshit authored Jul 15, 2022
2 parents 43f40af + a2ce36f commit 32be566
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM alpine:3.13
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

ARG TERRASCAN_VERSION=1.15.0
ARG CLI_VERSION=1.0.37
ARG TERRASCAN_VERSION=1.15.2
ARG CLI_VERSION=1.0.41
RUN apk update && apk add --upgrade --no-cache ca-certificates curl jq git && \
curl -s https://downloads.accurics.com/cli/dev/${CLI_VERSION}/accurics_linux -o /usr/bin/accurics && \
chmod 755 /entrypoint.sh /usr/bin/accurics
Expand Down
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ run_accurics() {
accurics init
fi


echo "TF_CLI_CONFIG_FILE:$TF_CLI_CONFIG_FILE"

if [ "$INPUT_PIPELINE" = true ]; then
echo "INPUT_PIPELINE="$INPUT_PIPELINE
echo "running pipeline mode"
Expand Down

0 comments on commit 32be566

Please sign in to comment.