Skip to content

Commit

Permalink
chore: revert to grpcweb org and tag latest
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy committed Mar 15, 2022
1 parent 5ff797f commit 764d23f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 29 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/make-plugin-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ jobs:
id: docker_meta_prereqs
uses: docker/metadata-action@v3
with:
images: strophy/prereqs
tags: |
type=semver,pattern={{version}},value=${{ github.event.inputs.version_number }}
type=raw,value=latest-dev
flavor: |
latest=true
images: grpcweb/prereqs
tags: type=semver,pattern={{version}},value=${{ github.event.inputs.version_number }}
flavor: latest=true

- name: Build and push Docker image prereqs
id: docker_build_prereqs
Expand All @@ -62,12 +59,9 @@ jobs:
id: docker_meta_plugin
uses: docker/metadata-action@v3
with:
images: strophy/protoc-plugin
tags: |
type=semver,pattern={{version}},value=${{ github.event.inputs.version_number }}
type=raw,value=latest-dev
flavor: |
latest=true
images: grpcweb/protoc-plugin
tags: type=semver,pattern={{version}},value=${{ github.event.inputs.version_number }}
flavor: latest=true

- name: Build and push Docker image plugin
id: docker_build_plugin
Expand All @@ -84,12 +78,12 @@ jobs:

- name: Copy binary from Docker image x86_64
run: |
docker cp $(docker create --platform linux/amd64 strophy/protoc-plugin):/github/grpc-web/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
docker cp $(docker create --platform linux/amd64 grpcweb/protoc-plugin):/github/grpc-web/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
./protoc-gen-grpc-web-${{ github.event.inputs.version_number }}-linux-x86_64
- name: Copy binary from Docker image arm64
run: |
docker cp $(docker create --platform linux/arm64 strophy/protoc-plugin):/github/grpc-web/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
docker cp $(docker create --platform linux/arm64 grpcweb/protoc-plugin):/github/grpc-web/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
./protoc-gen-grpc-web-${{ github.event.inputs.version_number }}-linux-arm64
- name: gen sha256 x86_64
Expand Down
28 changes: 14 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ services:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/prereqs/Dockerfile
image: strophy/prereqs
image: grpcweb/prereqs
echo-server:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/echo_server/Dockerfile
depends_on:
- prereqs
image: strophy/echo-server
image: grpcweb/echo-server
ports:
- "9090:9090"
node-server:
Expand All @@ -20,21 +20,21 @@ services:
dockerfile: ./net/grpc/gateway/docker/node_server/Dockerfile
depends_on:
- prereqs
image: strophy/node-server
image: grpcweb/node-server
ports:
- "9090:9090"
node-interop-server:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/node_interop_server/Dockerfile
image: strophy/node-interop-server
image: grpcweb/node-interop-server
ports:
- "7074:7074"
envoy:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/envoy/Dockerfile
image: strophy/envoy
image: grpcweb/envoy
ports:
- "8080:8080"
links:
Expand All @@ -43,7 +43,7 @@ services:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/grpcwebproxy/Dockerfile
image: strophy/grpcwebproxy
image: grpcweb/grpcwebproxy
ports:
- "8080:8080"
links:
Expand All @@ -54,7 +54,7 @@ services:
dockerfile: ./net/grpc/gateway/docker/commonjs_client/Dockerfile
depends_on:
- prereqs
image: strophy/commonjs-client
image: grpcweb/commonjs-client
ports:
- "8081:8081"
closure-client:
Expand All @@ -63,7 +63,7 @@ services:
dockerfile: ./net/grpc/gateway/docker/closure_client/Dockerfile
depends_on:
- prereqs
image: strophy/closure-client
image: grpcweb/closure-client
ports:
- "8081:8081"
ts-client:
Expand All @@ -72,7 +72,7 @@ services:
dockerfile: ./net/grpc/gateway/docker/ts_client/Dockerfile
depends_on:
- prereqs
image: strophy/ts-client
image: grpcweb/ts-client
ports:
- "8081:8081"
binary-client:
Expand All @@ -81,7 +81,7 @@ services:
dockerfile: ./net/grpc/gateway/docker/binary_client/Dockerfile
depends_on:
- prereqs
image: strophy/binary-client
image: grpcweb/binary-client
ports:
- "8081:8081"
interop-client:
Expand All @@ -90,23 +90,23 @@ services:
dockerfile: ./net/grpc/gateway/docker/interop_client/Dockerfile
depends_on:
- prereqs
image: strophy/interop-client
image: grpcweb/interop-client
ports:
- "8081:8081"
java-interop-server:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/java_interop_server/Dockerfile
image: strophy/java-interop-server
image: grpcweb/java-interop-server
protoc-plugin:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/protoc_plugin/Dockerfile
depends_on:
- prereqs
image: strophy/protoc-plugin
image: grpcweb/protoc-plugin
jsunit-test:
build:
context: ./
dockerfile: ./packages/grpc-web/docker/jsunit-test/Dockerfile
image: strophy/jsunit-test
image: grpcweb/jsunit-test
2 changes: 1 addition & 1 deletion net/grpc/gateway/docker/protoc_plugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM strophy/prereqs:latest
FROM grpcweb/prereqs:latest

ARG MAKEFLAGS=-j8

Expand Down

0 comments on commit 764d23f

Please sign in to comment.