Skip to content

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

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

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

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
with:
src_branch: "${{ github.head_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 }}