Also build nvidia image
This commit is contained in:
parent
60a619062a
commit
de26a312f7
20
.github/workflows/docker-build.yaml
vendored
20
.github/workflows/docker-build.yaml
vendored
@ -10,6 +10,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- name: Default
|
||||||
|
Dockerfile: Dockerfile
|
||||||
|
suffix: ""
|
||||||
|
- name: nvidia
|
||||||
|
Dockerfile: Dockerfile-nvidia
|
||||||
|
suffix: "-nvidia"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -28,4 +38,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: vexorian/dizquetv:${{ inputs.tag }}
|
tags: vexorian/dizquetv:${{ inputs.tag }}${{ matrix.suffix }}
|
||||||
|
|
||||||
|
- name: Build and push nvidia
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ${{ matrix.Dockerfile }}
|
||||||
|
push: true
|
||||||
|
tags: vexorian/dizquetv:${{ inputs.tag }}${{ matrix.suffix }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user