From 6dc9348f12dc675a931715b84c6ab17ef7c425b0 Mon Sep 17 00:00:00 2001 From: Almog Baku Date: Tue, 19 Jul 2022 08:27:03 +0300 Subject: [PATCH] Fix buf plugin's library version The buf `mod` currently returns a defunct version which cause go mod to complain. See https://bufbuild.slack.com/archives/CRZ680FUH/p1658149356049699?thread_ts=1658096456.542309&cid=CRZ680FUH --- .github/plugins/protoc-gen-grpc-gateway/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/plugins/protoc-gen-grpc-gateway/Dockerfile b/.github/plugins/protoc-gen-grpc-gateway/Dockerfile index fa122d8833c..15560410e74 100644 --- a/.github/plugins/protoc-gen-grpc-gateway/Dockerfile +++ b/.github/plugins/protoc-gen-grpc-gateway/Dockerfile @@ -13,7 +13,7 @@ ARG GO_PROTOBUF_RELEASE_VERSION ARG GO_GRPC_RELEASE_VERSION # Runtime dependencies -LABEL "build.buf.plugins.runtime_library_versions.0.name"="github.com/grpc-ecosystem/grpc-gateway" +LABEL "build.buf.plugins.runtime_library_versions.0.name"="github.com/grpc-ecosystem/grpc-gateway/v2" LABEL "build.buf.plugins.runtime_library_versions.0.version"="${RELEASE_VERSION}" LABEL "build.buf.plugins.runtime_library_versions.1.name"="google.golang.org/protobuf" LABEL "build.buf.plugins.runtime_library_versions.1.version"="${GO_PROTOBUF_RELEASE_VERSION}"