fix: forward leading version char correctly
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
parent
1226cff143
commit
0f72d047c9
@ -597,7 +597,7 @@ steps:
|
||||
password:
|
||||
from_secret: git_cryptic_systems_container_registry_password
|
||||
build_args:
|
||||
- GOSEC_VERSION=${DRONE_TAG}
|
||||
- GOSEC_VERSION=v${DRONE_TAG}
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
@ -657,7 +657,7 @@ steps:
|
||||
password:
|
||||
from_secret: git_cryptic_systems_container_registry_password
|
||||
build_args:
|
||||
- GOSEC_VERSION=${DRONE_TAG}
|
||||
- GOSEC_VERSION=v${DRONE_TAG}
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
@ -717,7 +717,7 @@ steps:
|
||||
password:
|
||||
from_secret: git_cryptic_systems_container_registry_password
|
||||
build_args:
|
||||
- GOSEC_VERSION=${DRONE_TAG}
|
||||
- GOSEC_VERSION=v${DRONE_TAG}
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
|
@ -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