mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
updated CI to build multiple versions of containers
This commit is contained in:
parent
ad479e53b8
commit
82512ef10c
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -40,6 +40,12 @@ jobs:
|
|||||||
name: Build and upload container
|
name: Build and upload container
|
||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
|
- create-release
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
version:
|
||||||
|
- slim-alpine
|
||||||
|
- cuda
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -50,6 +56,6 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.GHCR_USER }}
|
username: ${{ secrets.GHCR_USER }}
|
||||||
password: ${{ secrets.GHCR_TOKEN }}
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile.${{ matrix.version }}
|
||||||
image: video2x
|
image: video2x
|
||||||
tags: latest, ${{ needs.setup.outputs.tag }}
|
tags: latest, ${{ needs.setup.outputs.tag }}-${{ matrix.version }}
|
||||||
|
Loading…
Reference in New Issue
Block a user