chore: add scale test package #1
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: | ||
roles: [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 | ||
tags: latest | ||
Check failure on line 34 in .github/workflows/scale-test-docker-release.yml GitHub Actions / Build and Push Scale Test Docker ImageInvalid workflow file
|
||
with: | ||
images: ghcr.io/rosen-bridge/scale-test${{matrix.role}} | ||
- 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 }} |