Migration: InputArray/OutputArray/InputOutputArray to allocation-free ref structs (issue #1976 step 4 & 5) #540
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: Docker Test | |
| on: | |
| pull_request: | |
| types: [synchronize, opened] | |
| push: | |
| branches: | |
| - main | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| OPENCV_VERSION: 5.0.0 | |
| DOCKER_BUILD_CONTEXT_FULL: ./docker/ubuntu24-dotnet10-opencv5.0.0 | |
| DOCKER_BUILD_CONTEXT_SLIM: ./docker/ubuntu24-dotnet10-opencv5.0.0-slim | |
| jobs: | |
| build_full: | |
| name: Docker (full) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: docker/setup-buildx-action@v4 | |
| - name: Build with Docker (full) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_FULL }}/Dockerfile | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=docker,name=shimat/ubuntu24-dotnet10-opencv5.0.0:latest | |
| cache-from: | | |
| type=gha,scope=full-${{ github.ref_name }} | |
| type=gha,scope=full-main | |
| cache-to: type=gha,mode=min,scope=full-${{ github.ref_name }} | |
| build_slim: | |
| name: Docker (slim) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: docker/setup-buildx-action@v4 | |
| - name: Build with Docker (slim) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ${{ env.DOCKER_BUILD_CONTEXT_SLIM }}/Dockerfile | |
| build-args: | | |
| OPENCV_VERSION=${{ env.OPENCV_VERSION }} | |
| outputs: type=docker,name=shimat/ubuntu24-dotnet10-opencv5.0.0-slim:latest | |
| cache-from: | | |
| type=gha,scope=slim-${{ github.ref_name }} | |
| type=gha,scope=slim-main | |
| cache-to: type=gha,mode=min,scope=slim-${{ github.ref_name }} |