fix: go install fixed version
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
710a8a4abb
commit
c94ef136a5
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user