chore(deps): update super-linter/super-linter action to v6 #98
Workflow file for this run
This file contains 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: Build container-example application | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'container-example/**' | |
- '!container-example/README.md' | |
- '.github/workflows/container-example.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- arch: armv7hf | |
imagearch: arm32v7 | |
axis-os: 11.9.53 | |
- arch: aarch64 | |
imagearch: arm64v8 | |
axis-os: 11.9.53 | |
env: | |
EXREPO: acap-native-examples | |
EXNAME: container-example | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-buildx-action@v3 | |
- name: Build ${{ env.EXNAME }} application | |
env: | |
imagetag: ${{ env.EXREPO }}_${{ env.EXNAME }}:${{ matrix.arch }} | |
run: | | |
docker image rm -f $imagetag | |
cd $EXNAME | |
docker pull ${{ matrix.imagearch }}/alpine:3.14.0 | |
docker save -o alpine.tar ${{ matrix.imagearch }}/alpine:3.14.0 | |
docker build --no-cache --tag $imagetag . | |
docker cp $(docker create $imagetag):/opt/app ./build | |
cd .. | |
docker image rm -f $imagetag |