Skip to content

Pcrumley/update actions #318

Pcrumley/update actions

Pcrumley/update actions #318

Workflow file for this run

name: Build docker image
on:
workflow_dispatch:
pull_request:
paths:
- Dockerfile
- Makefile
- .github/workflows/docker.yaml
jobs:
build:
name: Build docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Build image
run: |
docker build -t libsbp-build --build-arg UID=$(id -u) - <Dockerfile
- name: List images
run: docker images
- name: Run make all inside image
run: |
docker run --rm -v $PWD:/mnt/workspace -e TOX_PARALLEL_NO_SPINNER=1 \
-t libsbp-build:latest make all