From 82512ef10c9086123271d0222c29d44b9e22f757 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Thu, 17 Feb 2022 05:43:12 +0000 Subject: [PATCH] updated CI to build multiple versions of containers --- .github/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a15418..2a797e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,12 @@ jobs: name: Build and upload container needs: - setup + - create-release + strategy: + matrix: + version: + - slim-alpine + - cuda runs-on: ubuntu-latest steps: - name: Checkout repository @@ -50,6 +56,6 @@ jobs: registry: ghcr.io username: ${{ secrets.GHCR_USER }} password: ${{ secrets.GHCR_TOKEN }} - dockerfile: Dockerfile + dockerfile: Dockerfile.${{ matrix.version }} image: video2x - tags: latest, ${{ needs.setup.outputs.tag }} + tags: latest, ${{ needs.setup.outputs.tag }}-${{ matrix.version }}