Skip to content

Commit

Permalink
detected new plugin versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman authored and github-actions[bot] committed Oct 17, 2024
1 parent 9ecd6c0 commit dabf1ca
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/community/mfridman-go-json/v1.4.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
15 changes: 15 additions & 0 deletions plugins/community/mfridman-go-json/v1.4.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.10
FROM --platform=$BUILDPLATFORM golang:1.23.2-bookworm AS build

ARG TARGETOS TARGETARCH
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH

RUN --mount=type=cache,target=/go/pkg/mod \
go install -ldflags="-s -w" -trimpath github.com/mfridman/[email protected] \
&& mv /go/bin/${GOOS}_${GOARCH}/protoc-gen-go-json /go/bin/protoc-gen-go-json || true

FROM scratch
COPY --from=build --link --chown=root:root /etc/passwd /etc/passwd
COPY --from=build --link --chown=root:root /go/bin/protoc-gen-go-json .
USER nobody
ENTRYPOINT [ "/protoc-gen-go-json" ]
10 changes: 10 additions & 0 deletions plugins/community/mfridman-go-json/v1.4.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: v1
name: buf.build/community/mfridman-go-json
plugin_version: v1.4.1
source_url: https://github.com/mfridman/protoc-gen-go-json
integration_guide_url: https://github.com/mfridman/protoc-gen-go-json#usage
description: Generate marshalling & unmarshalling code using protojson.
output_languages:
- go
spdx_license_id: MIT
license_url: https://github.com/mfridman/protoc-gen-go-json/blob/v1.4.1/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:qUWM+QnG74NYD4ltRQ0wcCgVysZZQTG0StpCzdNF3AA=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:1+7dKaOe2lxumUAznsnVhWHVYHOoiu+h8dkmlsxHurM=

0 comments on commit dabf1ca

Please sign in to comment.