Skip to content

build docker

build docker #7

Workflow file for this run

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

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

View workflow run for this annotation

GitHub Actions / Docker Build

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 13, Col: 9): A sequence was not expected
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
uses: docker/build-push-action@v6
with:
push: false
tags: srsran_${{ matrix.SPLIT }}_${{ matrix.SUFFIX }}:latest
file: ./docker/Dockerfile
platform: ${{ matrix.PLATFORM }}
build-args: |
NAME="srsran_${SPLIT}_${SUFFIX}"
LIB=${{ matrix.LIB }}
LIB_VERSION=${{ matrix.LIB_VERSION }}
ARCH=${{ matrix.ARCH }}