Skip to content

Commit

Permalink
Bump glab to 1.49.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Nov 25, 2024
1 parent ecd12e7 commit 95e67ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
7 changes: 4 additions & 3 deletions glab/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# syntax=docker/dockerfile:1
ARG BASE_IMAGE=docker.io/ubuntu:noble-20240605
ARG BASE_IMAGE=docker.io/ubuntu:noble-20241015
# hadolint ignore=DL3006
FROM ${BASE_IMAGE} AS base

ARG GLAB_URL_AMD64
Expand Down Expand Up @@ -31,7 +32,7 @@ RUN <<EOF
;; \
*) echo "unsupported architecture"; exit 1 ;; \
esac
curl -fsSL -o glab.deb ${GLAB_URL}
curl -fsSL -o glab.deb "${GLAB_URL}"
echo "${GLAB_SHA256} glab.deb" | sha256sum -c -
EOF

Expand All @@ -46,7 +47,7 @@ RUN <<EOF
;;
*) echo "unsupported architecture"; exit 1 ;; \
esac
curl -fsSL -o docker.tgz ${DOCKER_URL}
curl -fsSL -o docker.tgz "${DOCKER_URL}"
tar --extract \
--file docker.tgz \
--strip-components 1 \
Expand Down
15 changes: 7 additions & 8 deletions glab/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "TAG_PREFIX" {
}

variable "VERSION" {
default = "1.46.0"
default = "1.49.0"
}

# There's no darwin-based Docker, so if we're running on macOS, change the platform to linux
Expand All @@ -13,13 +13,12 @@ variable "LOCAL_PLATFORM" {

target "_common" {
args = {
MDL_VERSION = "${VERSION}"
GLAB_URL_AMD64 = "https://gitlab.com/gitlab-org/cli/-/releases/v1.46.0/downloads/glab_1.46.0_Linux_x86_64.deb"
GLAB_SHA256_AMD64 = "1957b02381e638ca8ca2b9cd353c546b46f77e7c5ae03a0827031ca3aa34078a"
GLAB_URL_ARM64 = "https://gitlab.com/gitlab-org/cli/-/releases/v1.46.0/downloads/glab_1.46.0_Linux_arm64.deb"
GLAB_SHA256_ARM64 = "097980c6a9f2ce718cadca6d5ae7e612f2606ad329f23174afda5facc4c12703"
DOCKER_URL_AMD64 = "https://download.docker.com/linux/static/stable/x86_64/docker-27.2.0.tgz"
DOCKER_URL_ARM64 = "https://download.docker.com/linux/static/stable/aarch64/docker-27.2.0.tgz"
GLAB_URL_AMD64 = "https://gitlab.com/gitlab-org/cli/-/releases/v1.49.0/downloads/glab_1.49.0_linux_amd64.deb"
GLAB_SHA256_AMD64 = "f42cc13a1ba6913bde8acd6b03bcd9a081199d9cbfff5fe152147e92ef433c6b"
GLAB_URL_ARM64 = "https://gitlab.com/gitlab-org/cli/-/releases/v1.49.0/downloads/glab_1.49.0_linux_arm64.deb"
GLAB_SHA256_ARM64 = "136d7f0d65e402247f0f1aca420e60497fcd020c80f7e475235bf95ff3b467a0"
DOCKER_URL_AMD64 = "https://download.docker.com/linux/static/stable/x86_64/docker-27.3.1.tgz"
DOCKER_URL_ARM64 = "https://download.docker.com/linux/static/stable/aarch64/docker-27.3.1.tgz"
}
dockerfile = "Containerfile"
tags = [
Expand Down

0 comments on commit 95e67ae

Please sign in to comment.