mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
chore: Updated repo for terrascan (#384)
This commit is contained in:
parent
0f9beffdb9
commit
51147f1712
2 changed files with 5 additions and 5 deletions
|
|
@ -103,7 +103,7 @@ RUN . /.env \
|
|||
RUN . /.env && \
|
||||
if [ "$TERRASCAN_VERSION" != "false" ]; then \
|
||||
( \
|
||||
TERRASCAN_RELEASES="https://api.github.com/repos/accurics/terrascan/releases" && \
|
||||
TERRASCAN_RELEASES="https://api.github.com/repos/tenable/terrascan/releases" && \
|
||||
[ "$TERRASCAN_VERSION" = "latest" ] && curl -L "$(curl -s ${TERRASCAN_RELEASES}/latest | grep -o -E -m 1 "https://.+?_Linux_x86_64.tar.gz")" > terrascan.tar.gz \
|
||||
|| curl -L "$(curl -s ${TERRASCAN_RELEASES} | grep -o -E "https://.+?${TERRASCAN_VERSION}_Linux_x86_64.tar.gz")" > terrascan.tar.gz \
|
||||
) && tar -xzf terrascan.tar.gz terrascan && rm terrascan.tar.gz && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue