-
Notifications
You must be signed in to change notification settings - Fork 38
32 lines (31 loc) · 928 Bytes
/
curl-openssl.yml
File metadata and controls
32 lines (31 loc) · 928 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
name: Build curl-openssl application
on:
workflow_dispatch:
push:
paths:
- 'curl-openssl/**'
- '!curl-openssl/README.md'
- '.github/workflows/curl-openssl.yml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
axis-os: ["12.5.56"]
arch: ["armv7hf", "aarch64"]
env:
EXREPO: acap-native-examples
EXNAME: curl-openssl
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 build --no-cache --build-arg ARCH=${{ matrix.arch}} --build-arg APP_DEBUG=yes --tag $imagetag .
docker cp $(docker create $imagetag):/opt/app ./build
cd ..
docker image rm -f $imagetag