feat(httpgate): h1/grpc working in same domain (#6464) #40
This file contains hidden or 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
| name: Build Service-RS Images | |
| on: | |
| workflow_call: | |
| inputs: | |
| push_image: | |
| description: "Push image" | |
| required: false | |
| type: boolean | |
| default: false | |
| push_image_tag: | |
| description: "Push image tag" | |
| default: "latest" | |
| required: false | |
| type: string | |
| workflow_dispatch: | |
| inputs: | |
| push_image: | |
| description: "Push image" | |
| required: false | |
| type: boolean | |
| default: false | |
| push_image_tag: | |
| description: "Push image tag" | |
| default: "latest" | |
| required: false | |
| type: string | |
| push: | |
| branches: ["*"] | |
| paths: | |
| - "service-rs/**" | |
| - ".github/workflows/service-rs.yml" | |
| - ".github/workflows/service-rs-build.yml" | |
| - "!**/*.md" | |
| pull_request: | |
| branches: ["*"] | |
| paths: | |
| - "service-rs/**" | |
| - ".github/workflows/service-rs.yml" | |
| - ".github/workflows/service-rs-build.yml" | |
| - "!**/*.md" | |
| # Avoid using ${{ github.workflow }} - when called via workflow_call, it inherits the caller's name causing conflicts | |
| concurrency: | |
| group: service-rs-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| image-build: | |
| uses: ./.github/workflows/service-rs-build.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| secrets: inherit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| module: | |
| - httpgate | |
| with: | |
| module: ${{ matrix.module }} | |
| push_image: ${{ (github.event_name == 'push') || (github.event_name == 'create') || (inputs.push_image == true) }} | |
| push_image_tag: ${{ inputs.push_image_tag }} |