mirror of https://github.com/koide3/small_gicp.git
multi-distro CI
This commit is contained in:
parent
9edbba4756
commit
b1916f4733
|
|
@ -16,6 +16,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
DISTRO: [jammy]
|
||||||
TOOLCHAIN: [gcc, llvm]
|
TOOLCHAIN: [gcc, llvm]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -35,5 +36,6 @@ jobs:
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
file: ${{github.workspace}}/docker/Dockerfile.${{ matrix.TOOLCHAIN }}
|
file: ${{github.workspace}}/docker/Dockerfile.${{ matrix.TOOLCHAIN }}
|
||||||
|
build-args: BASE_IMAGE=ubuntu:${{ matrix.DISTRO }}
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
FROM ubuntu:jammy
|
ARG BASE_IMAGE
|
||||||
|
|
||||||
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue