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 Jul 16, 2024
1 parent a0b1911 commit 35e9b4e
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/protocolbuffers/js/v3.21.4/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
18 changes: 18 additions & 0 deletions plugins/protocolbuffers/js/v3.21.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# syntax=docker/dockerfile:1.8
FROM debian:bookworm-20240701 AS build

ARG TARGETARCH

RUN apt-get update \
&& apt-get install -y curl
RUN arch=${TARGETARCH}; \
if [ "${arch}" = "amd64" ]; then arch="x86_64"; elif [ "${arch}" = "arm64" ]; then arch="aarch_64"; fi; \
curl -fsSL -o /tmp/protobuf-javascript.tar.gz https://github.com/protocolbuffers/protobuf-javascript/releases/download/v3.21.4/protobuf-javascript-3.21.4-linux-${arch}.tar.gz \
&& cd /tmp \
&& tar zxf protobuf-javascript.tar.gz bin/protoc-gen-js \
&& rm -f protobuf-javascript.tar.gz

FROM gcr.io/distroless/cc-debian12:latest@sha256:3b75fdd33932d16e53a461277becf57c4f815c6cee5f6bc8f52457c095e004c8
COPY --from=build --link --chmod=0755 /tmp/bin/protoc-gen-js .
USER nobody
ENTRYPOINT ["/protoc-gen-js"]
18 changes: 18 additions & 0 deletions plugins/protocolbuffers/js/v3.21.4/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: v1
name: buf.build/protocolbuffers/js
plugin_version: v3.21.4
source_url: https://github.com/protocolbuffers/protobuf-javascript
description: Base types for JavaScript. Generates message and enum types.
output_languages:
- javascript
registry:
npm:
deps:
- package: 'google-protobuf'
version: ^3.21.4
import_style: commonjs
opts:
- import_style=commonjs
- binary
spdx_license_id: BSD-3-Clause
license_url: https://github.com/protocolbuffers/protobuf-javascript/blob/v3.21.4/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:DkXOmjEm8fjbqkp0kEQGpZL6y9xvAOwy7bVPBXKAFB0=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:DmXCzl87SxFBIyTxQcOEc4ESqT0mUW0/Heqxd0Y4dU0=

0 comments on commit 35e9b4e

Please sign in to comment.