Skip to content

Try to split workflow into reusable parts #1

Try to split workflow into reusable parts

Try to split workflow into reusable parts #1

Workflow file for this run

name: Build and push container all images
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 0' # weekly refresh on Sunday at 1am
push:
branches: [main]
paths:
- 'Dockerfile'
- '.github/workflows/build.yml'
- '.github/workflows/matrix.yml'
jobs:
build:
name: Triggering Ruby ${{ matrix.ruby }} build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3']
uses: zenjoy/docker-ruby/.github/workflows/build.yml@main

Check failure on line 23 in .github/workflows/maxtrix.yml

View workflow run for this annotation

GitHub Actions / Build and push container all images

Invalid workflow file

The workflow is not valid. .github/workflows/maxtrix.yml (Line: 23, Col: 5): Unexpected value 'uses' .github/workflows/maxtrix.yml (Line: 24, Col: 5): Unexpected value 'with'
with:
ruby: ${{ matrix.ruby }}