Skip to content

Enable find jobs by fleet_id in backoffice #5858

Enable find jobs by fleet_id in backoffice

Enable find jobs by fleet_id in backoffice #5858

name: Build the containers
on:
pull_request:
merge_group:
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
build-containers:
# The label is what shows up in the check name "Test build containers (<label>, <python>)".
# The branch ruleset requires those names by exact string, so we keep the old paths as labels
# (ray-node/Dockerfile, gateway/Dockerfile) even though the Dockerfiles now live under
# docker-images/. dockerfile is the real path we build. Drop the label indirection once the
# ruleset is updated (or once ray-node is removed).
name: Test build containers (${{ matrix.label }}, ${{ matrix.python }})
runs-on: ubuntu-latest
strategy:
fail-fast: false # keep running if one leg fails
matrix:
include:
- label: ray-node/Dockerfile # label kept to match the required check name
dockerfile: docker-images/ray-node/Dockerfile
python: "3.12"
- label: fleet-node/Dockerfile # not required in CI
dockerfile: docker-images/fleet-node/Dockerfile
python: "3.12"
- label: gateway/Dockerfile # unchanged (label == path)
dockerfile: gateway/Dockerfile
python: "3.12"
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup buildx
uses: docker/setup-buildx-action@v4
- name: Build ${{ matrix.dockerfile }}
uses: docker/build-push-action@v7
with:
context: .
file: ./${{ matrix.dockerfile }}
load: true
tags: image:test
- name: Inspect
run: |
docker image inspect image:test