-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
33 lines (27 loc) · 900 Bytes
/
docker-test-ubuntu.yml
File metadata and controls
33 lines (27 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Docker Test
on:
pull_request:
types: [synchronize, opened]
env:
DEBIAN_FRONTEND: noninteractive
OPENCV_VERSION: 4.13.0
DOCKER_BUILD_CONTEXT: ./docker/ubuntu24-dotnet10-opencv4.13.0
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v6
- uses: docker/setup-buildx-action@v3
- name: Build with Docker
uses: docker/build-push-action@v6
with:
context: ${{ env.DOCKER_BUILD_CONTEXT }}
build-args: |
OPENCV_VERSION=${{ env.OPENCV_VERSION }}
OPENCVSHARP_REF=${{ github.head_ref || github.ref_name }}
outputs: type=docker,name=shimat/ubuntu24-dotnet10-opencv4.13.0:latest
cache-from: |
type=gha,scope=${{ github.ref_name }}
type=gha,scope=main
cache-to: type=gha,mode=min,scope=${{ github.ref_name }}