fix: go install fixed version
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Markus Pesch 2023-10-15 14:32:47 +02:00
parent 710a8a4abb
commit c94ef136a5
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
1 changed files with 1 additions and 1 deletions

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@v${GOSEC_VERSION}; fi
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@latest; fi
RUN cp /go/bin/gosec /usr/bin/gosec && \