-
Notifications
You must be signed in to change notification settings - Fork 190
46 lines (39 loc) · 1013 Bytes
/
docker.yml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Docker Build
on:
pull_request:
branches: [main]
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- platform: linux/amd64
tag: amd64
<<: *uhd_params
- platform: linux/arm64
tag: arm64
<<: *dpdk_params
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: false
# tags: user/app:${{ matrix.tag }}
file: ./docker/Dockerfile
# build-args: |
# LIB=${{ matrix.LIB }}
# LIB_VERSION=${{ matrix.LIB_VERSION }}
# ARCH=${{ matrix.platform }}
.uhd_params: &uhd_params
LIB: uhd
LIB_VERSION: "4.6.0.0"
.dpdk_params: &dpdk_params
LIB: dpdk
LIB_VERSION: "23.11"