fix: force curl to fail on error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-06-21 15:15:17 +02:00
parent e771f77907
commit 9b95c09e1a
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -17,7 +17,7 @@ COPY overlay/ /
RUN apk add --update --no-cache --virtual .build-deps tar curl && \ RUN apk add --update --no-cache --virtual .build-deps tar curl && \
apk add --update --no-cache git && \ apk add --update --no-cache git && \
echo "Installing git-chglog version '${CHGLOG_VERSION##v}' ..." && \ echo "Installing git-chglog version '${CHGLOG_VERSION##v}' ..." && \
curl -SsL "https://github.com/git-chglog/git-chglog/releases/download/${CHGLOG_VERSION}/git-chglog_${CHGLOG_VERSION##v}_linux_amd64.tar.gz" | \ curl -SsfL "https://github.com/git-chglog/git-chglog/releases/download/${CHGLOG_VERSION}/git-chglog_${CHGLOG_VERSION##v}_linux_amd64.tar.gz" | \
tar xz -C /usr/local/bin git-chglog && \ tar xz -C /usr/local/bin git-chglog && \
chmod 755 /usr/local/bin/git-chglog && \ chmod 755 /usr/local/bin/git-chglog && \
apk del .build-deps && \ apk del .build-deps && \