Skip to content

Commit

Permalink
Add grpc/swift v1.19.1 (#758)
Browse files Browse the repository at this point in the history
New plugin versions found. Please review.

Co-authored-by: mfridman <[email protected]>
  • Loading branch information
app-token-plugins[bot] and mfridman committed Aug 22, 2023
1 parent c8a715e commit 6b58dc8
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/grpc/swift/v1.19.1/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
12 changes: 12 additions & 0 deletions plugins/grpc/swift/v1.19.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1.4
FROM swift:5.8.1-focal AS build

WORKDIR /app
RUN git clone --depth 1 --branch 1.19.1 https://github.com/grpc/grpc-swift --recursive
WORKDIR /app/grpc-swift
RUN swift build -c release --static-swift-stdlib --product protoc-gen-grpc-swift -Xlinker -s

FROM gcr.io/distroless/cc-debian11
COPY --from=build --link /app/grpc-swift/.build/release/protoc-gen-grpc-swift .
USER nobody
ENTRYPOINT [ "/protoc-gen-grpc-swift" ]
21 changes: 21 additions & 0 deletions plugins/grpc/swift/v1.19.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: v1
name: buf.build/grpc/swift
plugin_version: v1.19.1
source_url: https://github.com/grpc/grpc-swift
description: Generates Swift client and server stubs for the gRPC framework.
deps:
- plugin: buf.build/apple/swift:v1.22.1
output_languages:
- swift
registry:
swift:
deps:
- source: https://github.com/grpc/grpc-swift.git
package: grpc-swift
products: [ GRPC ]
version: 1.19.1
opts:
- Visibility=Public
- FileNaming=PathToUnderscores
spdx_license_id: Apache-2.0
license_url: https://github.com/grpc/grpc-swift/blob/1.19.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:klAEUf7WFX/+TSOOUy7F75AMxFT6Xb3LNOx6aL9DYn0=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:tVvtyf7StUea61DCqt0D6mKsji3dVZxna8snGt78kEA=

0 comments on commit 6b58dc8

Please sign in to comment.