Skip to content

chore(backend): migrate opencti-graphql module to ESM (#17164) #110

chore(backend): migrate opencti-graphql module to ESM (#17164)

chore(backend): migrate opencti-graphql module to ESM (#17164) #110

name: OpenCTI CD Check
# This workflow builds docker image variants to validate before merge on master or lts.
on:
pull_request:
branches:
- master
- lts/*
jobs:
# -----------------------
# Build platform images
# -----------------------
build-platform:
name: Build platform (${{ matrix.variant }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- variant: standard
suffix: ""
- variant: ubi9
suffix: "_ubi9"
- variant: fips
suffix: "_fips"
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}
- uses: ./.github/actions/docker-build-platform
with:
checkout_ref: ${{ github.sha }}
client_python_local: true
docker_image_suffix: ${{ matrix.suffix }}
# -----------------------
# Build worker images
# -----------------------
build-worker:
name: Build worker (${{ matrix.variant }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- variant: standard
suffix: ""
- variant: ubi9
suffix: "_ubi9"
- variant: fips
suffix: "_fips"
steps:
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}
- uses: ./.github/actions/docker-build-worker
with:
checkout_ref: ${{ github.sha }}
client_python_local: true
docker_image_suffix: ${{ matrix.suffix }}