From d88e7d6e5e946187f3d931d7cdea423862b47d97 Mon Sep 17 00:00:00 2001 From: Mitchell Nielsen Date: Fri, 23 Apr 2021 10:57:05 -0400 Subject: [PATCH] [operator-build-base] Update yq to 4.7.0 Updates yq to 4.7.0, including a syntax change in the version to have a 'v' prefix. --- Dockerfile.gitlab-operator-build-base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.gitlab-operator-build-base b/Dockerfile.gitlab-operator-build-base index ed7e473..8820901 100644 --- a/Dockerfile.gitlab-operator-build-base +++ b/Dockerfile.gitlab-operator-build-base @@ -4,7 +4,7 @@ LABEL maintainer="GitLab Distribution Team" \ description="Build base image for the GitLab Operator project." ARG KUBEBUILDER_VERSION=2.3.1 -ARG YQ_VERSION=2.4.1 +ARG YQ_VERSION=4.7.0 ARG HELM_VERSION=3.5.2 RUN go get -u \ @@ -13,7 +13,7 @@ RUN go get -u \ && curl --retry 6 -Ls https://go.kubebuilder.io/dl/${KUBEBUILDER_VERSION}/linux/amd64 | tar -xz -C /tmp/ \ && mv /tmp/kubebuilder_${KUBEBUILDER_VERSION}_linux_amd64 /usr/local/kubebuilder \ && ln -sfv /usr/local/kubebuilder/bin/* /usr/local/bin \ - && curl --retry 6 -LsO https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 \ + && curl --retry 6 -LsO https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_amd64 \ && chmod +x yq_linux_amd64 \ && mv yq_linux_amd64 /usr/local/bin/yq \ && curl --retry 6 -Ls "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz" | tar -xz -C /tmp/ \