Skip to content

Automatic update of versions #87

Automatic update of versions

Automatic update of versions #87

name: Build opencv-image-capture-cpp application
on:
push:
paths:
- 'opencv-image-capture-cpp/**'
- '!opencv-image-capture-cpp/README.md'
- '.github/workflows/opencv-image-capture-cpp.yml'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
EXREPO: acap-computer-vision-examples
EXNAME: opencv-image-capture-cpp
strategy:
matrix:
include:
- arch: armv7hf
- arch: aarch64
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v2
with:
install: true
- name: Build ${{ env.example }} application
env:
example: ${{ env.EXNAME }}
imagetag: ${{ env.EXREPO }}_${{ env.EXNAME }}:1.0
run: |
cd $EXNAME
docker build --no-cache --build-arg ARCH=${{ matrix.arch }} --tag $imagetag .