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

Merge branch 'change-glab-bin-names' into 'main'

Remove glab asset name hack

See merge request components/opentofu!138
parents 06579789 11b0b901
No related branches found
No related tags found
No related merge requests found
......@@ -21,11 +21,9 @@ RUN wget https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}
rm -f /tmp/*.deb
# NOTE: glab is not yet available in the debian apt sources
ARG GLAB_VERSION=1.46.1
ARG GLAB_VERSION=1.47.0
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