Skip to content

build docker

build docker #6

Workflow file for this run

name: Docker Build

Check failure on line 1 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yml

Invalid workflow file

You have an error in your yaml syntax
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"