Skip to content

build docker

build docker #5

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:latest
file: ./docker/Dockerfile
# build-args: |
# LIB=${LIB}
# LIB_VERSION=${LIB_VERSION}
# ARCH=${ARCH}
# NUM_CORES=${KUBERNETES_CPU_LIMIT}
# EXTRA_CMAKE_ARGS=\"${EXTRA_CMAKE_ARGS}
.uhd_params: &uhd_params
LIB: uhd
LIB_VERSION: "4.6.0.0"
.dpdk_params: &dpdk_params
LIB: dpdk
LIB_VERSION: "23.11"