Skip to content

Automatic update of versions #8

Automatic update of versions

Automatic update of versions #8

Workflow file for this run

name: Build message-broker applications
on:
workflow_dispatch:
push:
paths:
- 'message-broker/**'
- '!message-broker/README.md'
- '.github/workflows/message-broker.yml'
jobs:
test-app:
name: Test app
runs-on: ubuntu-latest
strategy:
matrix:
axis-os: ["12.1.60"]
arch: ["armv7hf", "aarch64"]
env:
EXREPO: acap-native-examples
EXNAME: message-broker
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Build ${{ env.example }} application
env:
example: consume-scene-metadata
imagetag: ${{ env.EXREPO }}_consume-scene-metadata:${{ matrix.arch }}
run: |
docker image rm -f $imagetag
cd $EXNAME/$example
docker build --no-cache --tag $imagetag --build-arg ARCH=${{ matrix.arch }} .
docker cp $(docker create $imagetag):/opt/app ./build
cd ../..
docker image rm -f $imagetag