Skip to content

Commit

Permalink
Merge pull request #1 from koide3/focal
Browse files Browse the repository at this point in the history
multi-distro CI
  • Loading branch information
koide3 authored Mar 29, 2024
2 parents 9edbba4 + b1916f4 commit 66d6173
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
DISTRO: [jammy]
TOOLCHAIN: [gcc, llvm]

steps:
Expand All @@ -35,5 +36,6 @@ jobs:
uses: docker/build-push-action@v2
with:
file: ${{github.workspace}}/docker/Dockerfile.${{ matrix.TOOLCHAIN }}
build-args: BASE_IMAGE=ubuntu:${{ matrix.DISTRO }}
context: .
push: false
4 changes: 3 additions & 1 deletion docker/Dockerfile.gcc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ubuntu:jammy
ARG BASE_IMAGE

FROM ${BASE_IMAGE}

ENV DEBIAN_FRONTEND=noninteractive

Expand Down

0 comments on commit 66d6173

Please sign in to comment.