fix: force curl to fail on error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e771f77907
commit
9b95c09e1a
@ -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 && \
|
||||||
|
Reference in New Issue
Block a user