revert: go install fixed version
Some checks reported errors
continuous-integration/drone/push Build was killed

This reverts commit c94ef136a5.
This commit is contained in:
Markus Pesch 2023-10-15 14:35:24 +02:00
parent c94ef136a5
commit 1226cff143
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -6,7 +6,7 @@ RUN apk update && \
apk upgrade && \
apk add git make
RUN if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}; fi
RUN if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@v${GOSEC_VERSION}; fi
RUN if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi
RUN cp /go/bin/gosec /usr/bin/gosec && \