Skip to content

chore: add scale test package #1

chore: add scale test package

chore: add scale test package #1

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

View workflow run for this annotation

GitHub Actions / Build and Push Scale Test Docker Image

Invalid workflow file

The workflow is not valid. .github/workflows/scale-test-docker-release.yml (Line: 34, Col: 9): Unexpected value 'tags'
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 }}