This commit is contained in:
parent
26a7d7a72a
commit
b9e0f1e9d4
2 changed files with 1 additions and 3 deletions
|
@ -13,8 +13,6 @@ COPY --from=builder /app/build/goscan /goscan
|
|||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /goscan && chmod +x /entrypoint.sh
|
||||
|
||||
RUN curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b /usr/local/bin
|
||||
|
||||
ENV PATH="/usr/local/go/bin:${PATH}"
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b /usr/local/bin
|
||||
/goscan --is-action
|
||||
cat output.sarif
|
Loading…
Reference in a new issue