fix: forward leading version char correctly
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Markus Pesch 2023-10-15 14:38:46 +02:00
parent 1226cff143
commit 0f72d047c9
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 4 additions and 4 deletions

View File

@ -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:

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 && \