forked from bufbuild/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added cludden/protoc-gen-go-temporal
- Loading branch information
Sten Roger Sandvik
committed
Aug 1, 2023
1 parent
2832f62
commit 78eab11
Showing
4 changed files
with
27 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,5 @@ | ||
source: | ||
github: | ||
owner: cludden | ||
repository: protoc-gen-go-temporal | ||
|
2 changes: 2 additions & 0 deletions
2
plugins/community/cludden-temporal-go/v1.0.0-beta3/.dockerignore
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 |
11 changes: 11 additions & 0 deletions
11
plugins/community/cludden-temporal-go/v1.0.0-beta3/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.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" ] |
9 changes: 9 additions & 0 deletions
9
plugins/community/cludden-temporal-go/v1.0.0-beta3/buf.plugin.yaml
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,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 |