Skip to content
Snippets Groups Projects
Unverified Commit f632155b authored by Timo Furrer's avatar Timo Furrer
Browse files

Remove glab asset name hack

parent b17e5a56
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,7 @@ RUN wget https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}
# NOTE: glab is not yet available in the debian apt sources
ARG GLAB_VERSION=1.46.1
WORKDIR /tmp
RUN if [ "${TARGETARCH}" = "amd64" ]; then hack_glab_arch="x86_64"; else hack_glab_arch="${TARGETARCH}"; fi && \
echo "arch=$hack_glab_arch" && \
wget https://gitlab.com/gitlab-org/cli/-/releases/v${GLAB_VERSION}/downloads/glab_${GLAB_VERSION}_Linux_${hack_glab_arch}.deb && \
RUN wget https://gitlab.com/gitlab-org/cli/-/releases/v${GLAB_VERSION}/downloads/glab_${GLAB_VERSION}_linux_${TARGETARCH}.deb && \
dpkg -i *.deb && \
rm -f /tmp/*.deb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment