fix: exit on error
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Markus Pesch 2022-01-31 19:40:11 +01:00
parent 47eb4875c6
commit 351235efdd
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 3 additions and 0 deletions

View File

@ -4,4 +4,5 @@ ARG HELM_VERSION
COPY install.sh /install.sh COPY install.sh /install.sh
RUN VERSION=${HELM_VERSION} /install.sh RUN VERSION=${HELM_VERSION} /install.sh
ENTRYPOINT [ "/usr/bin/helm" ] ENTRYPOINT [ "/usr/bin/helm" ]

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -xe
BASE_URL=https://get.helm.sh BASE_URL=https://get.helm.sh
if [ -z ${VERSION+x} ]; then if [ -z ${VERSION+x} ]; then