Skip to content

build docker

build docker #9

Workflow file for this run

name: Docker Build
on:
pull_request:
branches: [main]
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# --> split72
# AMD AVX2

Check failure on line 13 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 line 13
- SPLIT: split72
SUFFIX: release_avx2
EXTRA_CMAKE_ARGS: -DAUTO_DETECT_ISA=Off
TAG: amd64-avx2
LIB: dpdk
LIB_VERSION: "23.11"
ARCH: x86-64-v3
PLATFORM: linux/amd64
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
env:
NAME: srsran_${{ matrix.SPLIT }}_${{ matrix.SUFFIX }}
uses: docker/build-push-action@v6
with:
push: false
tags: |
${{ env.NAME }}:latest
${{ env.NAME }}:${{ github.sha }}
file: ./docker/Dockerfile
platform: ${{ matrix.PLATFORM }}
build-args: |
NAME="srsran_${SPLIT}_${SUFFIX}"
LIB=${{ matrix.LIB }}
LIB_VERSION=${{ matrix.LIB_VERSION }}
ARCH=${{ matrix.ARCH }}