chore(backend): migrate opencti-graphql module to ESM (#17164) #110
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |