Skip to content

Added deprecation banner #148

Added deprecation banner

Added deprecation banner #148

name: Build pose-estimator-with-flask application
on:
push:
paths:
- 'pose-estimator-with-flask/**'
- '!pose-estimator-with-flask/README.md'
- '.github/workflows/pose-estimator-with-flask.yml'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
EXREPO: acap-computer-vision-examples
EXNAME: pose-estimator-with-flask
strategy:
matrix:
include:
- chip: cpu
- chip: artpec8
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v2
with:
install: true
- name: Build ${{ env.example }} application
env:
example: ${{ env.EXNAME }}-${{ matrix.chip }}
imagetag: ${{ env.EXREPO }}_${{ env.EXNAME }}-${{ matrix.chip }}:1.0
modeltag: ${{ env.EXREPO }}_${{ env.EXNAME }}-${{ matrix.chip }}-model:1.0
run: |
cd $EXNAME
docker run --rm --privileged multiarch/qemu-user-static --credential yes --persistent yes
docker build --no-cache --build-arg CHIP=${{ matrix.chip }} --tag $imagetag .
docker build --file Dockerfile.model --tag $modeltag .