build by every dockerfiles, for compare

This commit is contained in:
rinsuki 2022-04-15 22:39:13 +09:00
parent fb388d77f6
commit b803279b2a

View File

@ -9,6 +9,9 @@ jobs:
build: build:
name: Build Docker Image name: Build Docker Image
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
dockerfile: [Dockerfile, Dockerfile.cross]
steps: steps:
- name: Check out the repo - name: Check out the repo
@ -30,3 +33,4 @@ jobs:
push: false push: false
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
file: ${{ matrix.dockerfile }}