Updating Qiskit Serverless docs to support Qiskit 2.x #2210
Workflow file for this run
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: Build the containers | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build-containers: | |
| name: build-containers | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false # keep running if one leg fails | |
| matrix: | |
| dockerfile: | |
| - Dockerfile-ray-node | |
| - gateway/Dockerfile | |
| - "Dockerfile-ray-node with dynamic dependencies" | |
| python: | |
| - "3.11" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build ${{ matrix.dockerfile }} | |
| if: ${{ matrix.dockerfile != 'Dockerfile-ray-node with dynamic dependencies' }} | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: ./${{ matrix.dockerfile }} | |
| load: true | |
| tags: image:test | |
| - name: Build ${{ matrix.dockerfile }} | |
| if: ${{ matrix.dockerfile == 'Dockerfile-ray-node with dynamic dependencies' }} | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: ./Dockerfile-ray-node | |
| load: true | |
| tags: image:test | |
| build-args: | | |
| DYNAMIC_DEPENDENCIES_FILE=requirements-dynamic-dependencies.txt | |
| - name: Inspect | |
| run: | | |
| docker image inspect image:test |