Skip to content

update readme for grpc-gateway #144

update readme for grpc-gateway

update readme for grpc-gateway #144

Workflow file for this run

on: [push, pull_request]
name: Build container images
jobs:
build-container:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- context: "."
name: "kvpair"
- context: "./server/envoy"
name: "envoy"
- context: "./services/auth"
name: "auth"
- context: "./services/gateway"
name: "gateway"
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: "${{ matrix.context }}"
push: ${{ github.event_name != 'pull_request' }}
tags: "${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.name }}:latest"
cache-from: |
type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.name }}:cache
cache-to: |
type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.name }}:cache,mode=max,compression=zstd