Skip to content

Commit

Permalink
Also build nvidia image
Browse files Browse the repository at this point in the history
  • Loading branch information
vexorian committed Nov 11, 2023
1 parent 60a6190 commit de26a31
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: Default
Dockerfile: Dockerfile
suffix: ""
- name: nvidia
Dockerfile: Dockerfile-nvidia
suffix: "-nvidia"

steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -28,4 +38,12 @@ jobs:
with:
context: .
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 }}

0 comments on commit de26a31

Please sign in to comment.