-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New plugin versions found. Please review. Co-authored-by: pkwarren <[email protected]>
- Loading branch information
1 parent
8a44c81
commit 6aaa6d9
Showing
5 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# syntax=docker/dockerfile:1.4 | ||
FROM golang:1.19.3-bullseye AS build | ||
RUN --mount=type=cache,target=/go/pkg/mod \ | ||
CGO_ENABLED=0 \ | ||
go install -ldflags="-s -w" -trimpath github.com/bufbuild/connect-go/cmd/[email protected] | ||
|
||
FROM scratch | ||
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd | ||
COPY --from=build --link /go/bin/protoc-gen-connect-go / | ||
USER nobody | ||
ENTRYPOINT [ "/protoc-gen-connect-go" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: v1 | ||
name: buf.build/bufbuild/connect-go | ||
plugin_version: v1.3.0 | ||
source_url: https://github.com/bufbuild/connect-go | ||
description: Generates client and server stubs for connect-go. Compatible with the gRPC, gRPC-Web, and Connect RPC protocols. | ||
deps: | ||
- plugin: buf.build/protocolbuffers/go:v1.28.1 | ||
output_languages: | ||
- go | ||
registry: | ||
go: | ||
min_version: "1.18" | ||
deps: | ||
- module: github.com/bufbuild/connect-go | ||
version: v1.3.0 | ||
opts: | ||
- paths=source_relative | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/bufbuild/connect-go/blob/v1.3.0/LICENSE |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/bufbuild/connect-go/v1.3.0/eliza/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:W/oKwB1mpATNGMMiO+9CM/sDBo017A8Z+MeuvobaMvA= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/bufbuild/connect-go/v1.3.0/petapis/plugin.sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
h1:LNnCcjOu8kcVABekU/5d8OgdAwuFzE3MFcMoTv2iFXI= |