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:
|
password:
|
||||||
from_secret: git_cryptic_systems_container_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
build_args:
|
build_args:
|
||||||
- GOSEC_VERSION=${DRONE_TAG}
|
- GOSEC_VERSION=v${DRONE_TAG}
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -657,7 +657,7 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: git_cryptic_systems_container_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
build_args:
|
build_args:
|
||||||
- GOSEC_VERSION=${DRONE_TAG}
|
- GOSEC_VERSION=v${DRONE_TAG}
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
@ -717,7 +717,7 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: git_cryptic_systems_container_registry_password
|
from_secret: git_cryptic_systems_container_registry_password
|
||||||
build_args:
|
build_args:
|
||||||
- GOSEC_VERSION=${DRONE_TAG}
|
- GOSEC_VERSION=v${DRONE_TAG}
|
||||||
|
|
||||||
- name: email-notification
|
- name: email-notification
|
||||||
environment:
|
environment:
|
||||||
|
@ -6,7 +6,7 @@ RUN apk update && \
|
|||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
apk add git make
|
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 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 && \
|
RUN cp /go/bin/gosec /usr/bin/gosec && \
|
||||||
|
Loading…
Reference in New Issue
Block a user