test(scaling): add maxReservations
config to relay
#19
Workflow file for this run
This file contains 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 and Push Scale Test Docker Image | |
on: | |
push: | |
paths: | |
- 'packages/**' | |
- 'tests/scaling/**' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
role: [node, relay] | |
name: Build and Push Scale Test Docker Image | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Login to Docker Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: rosen-bridge | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Docker Metadata action | |
uses: docker/metadata-action@v5 | |
id: meta | |
with: | |
images: ghcr.io/rosen-bridge/scale-test-${{matrix.role}} | |
tags: latest | |
- name: Build and push ${{matrix.role}} | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: 'tests/scaling/src/${{matrix.role}}/Dockerfile' | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} |