Skip to content

Commit

Permalink
Added cludden/protoc-gen-go-temporal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sten Roger Sandvik committed Aug 1, 2023
1 parent 2832f62 commit 78eab11
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/community/cludden-temporal-go/source.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source:
github:
owner: cludden
repository: protoc-gen-go-temporal

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
11 changes: 11 additions & 0 deletions plugins/community/cludden-temporal-go/v1.0.0-beta3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1.4
FROM golang:1.20.3-bullseye AS build
RUN --mount=type=cache,target=/go/pkg/mod \
CGO_ENABLED=0 \
go install -ldflags="-s -w" -trimpath github.com/cludden/protoc-gen-go-temporal/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-go_temporal .
USER nobody
ENTRYPOINT [ "/protoc-gen-go_temporal" ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: v1
name: buf.build/cludden-temporal-go
plugin_version: v1.0.0-beta3
source_url: https://github.com/cludden/protoc-gen-go-temporal
description: A protoc plugin for generating temporal clients and workers in Go from protobuf schemas.
output_languages:
- go
spdx_license_id: MIT
license_url: https://github.com/cludden/protoc-gen-go-temporal/blob/main/LICENSE.md

0 comments on commit 78eab11

Please sign in to comment.