Skip to content

fix(CI): Reduces CI time. Fixes #11768 #20

fix(CI): Reduces CI time. Fixes #11768

fix(CI): Reduces CI time. Fixes #11768 #20

Workflow file for this run

name: Build and Push for PR
on:
pull_request:
paths:
- '**/*'
- '!**/*.md'
- '!**/OWNERS'
jobs:
image-build-pr:
strategy:
matrix:
include:
- image: apiserver
dockerfile: backend/Dockerfile
context: .
- image: persistenceagent
dockerfile: backend/Dockerfile.persistenceagent
context: .
- image: scheduledworkflow
dockerfile: backend/Dockerfile.scheduledworkflow
context: .
- image: launcher
dockerfile: backend/Dockerfile.launcher
context: .
- image: driver
dockerfile: backend/Dockerfile.driver
context: .
uses: ./.github/workflows/build-and-push.yml

Check failure on line 29 in .github/workflows/image-builds-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/image-builds-pr.yml

Invalid workflow file

error parsing called workflow ".github/workflows/image-builds-pr.yml" -> "./.github/workflows/build-and-push.yml" : (Line: 55, Col: 18): Unrecognized named-value: 'github'. Located at position 1 within expression: github.ref
with:
src_branch: ${{ github.ref }}
target_tag: "${{ github.event.number }}-latest"
overwrite_imgs: true
set_latest: false
fail_fast: 'true'
add_sha_tag: 'false'
app_to_build: ${{ matrix.image }}
image_context: ${{ matrix.context }}
docker_file: ${{ matrix.dockerfile }}