-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update chrusty-jsonschema v1.4.0 (#412)
New plugin versions found. Please review. --------- Co-authored-by: pkwarren <[email protected]> Co-authored-by: Mike Fridman <[email protected]>
- Loading branch information
1 parent
cb778dc
commit 099192c
Showing
5 changed files
with
22 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.20.2-bullseye AS build | ||
RUN --mount=type=cache,target=/go/pkg/mod \ | ||
CGO_ENABLED=0 \ | ||
go install -ldflags "-s -w" -trimpath github.com/chrusty/protoc-gen-jsonschema/cmd/[email protected] | ||
|
||
FROM scratch | ||
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd | ||
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-jsonschema / | ||
USER nobody | ||
ENTRYPOINT [ "/protoc-gen-jsonschema" ] |
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,7 @@ | ||
version: v1 | ||
name: buf.build/community/chrusty-jsonschema | ||
plugin_version: v1.4.0 | ||
source_url: https://github.com/chrusty/protoc-gen-jsonschema | ||
description: Converts protobuf definitions into JSON Schemas, which can be used to dynamically validate JSON messages. | ||
spdx_license_id: Apache-2.0 | ||
license_url: https://github.com/chrusty/protoc-gen-jsonschema/blob/1.4.0/LICENSE |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.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:tnQpL/PE7EvJkOcy0A4F8G40ki/+3hnDERt6SbNahdQ= |
1 change: 1 addition & 0 deletions
1
tests/testdata/buf.build/community/chrusty-jsonschema/v1.4.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:13tUpzHkyYT4W4QCW4Nkudd1KofGEtZ5HU8zDUECCXM= |