chore: proto image migrate to ghcr (#13168)

This commit is contained in:
Marko
2022-09-07 12:03:00 +00:00
committed by GitHub
parent 4a07259ff4
commit 1ad3b29560
30 changed files with 643 additions and 599 deletions
+6 -6
View File
@@ -21,19 +21,19 @@ ENV GOLANG_PROTOBUF_VERSION=1.28.0 \
RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v${GOLANG_PROTOBUF_VERSION}
RUN go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v${GRPC_GATEWAY_VERSION} \
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION}
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v${GRPC_GATEWAY_VERSION}
# install all gogo protobuf binaries
RUN git clone https://github.com/regen-network/protobuf.git; \
cd protobuf; \
go mod download; \
make install
cd protobuf; \
go mod download; \
make install
# we need to use git clone because we use 'replace' directive in go.mod
# protoc-gen-gocosmos was moved to to in cosmos/gogoproto but pending a migration there.
RUN git clone https://github.com/regen-network/cosmos-proto.git; \
cd cosmos-proto/protoc-gen-gocosmos; \
go install .
cd cosmos-proto/protoc-gen-gocosmos; \
go install .
RUN npm install -g swagger-combine