diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f241d7f..10d227d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,7 +58,7 @@ jobs: build: strategy: matrix: - version: [12.2.0, 12.0.1, 12.0.0, 11.8.0] + version: [12.3.1, 12.2.2, 12.0.1, 12.0.0, 11.8.0] os: [ubuntu22.04] name: 👷 Build CUDA ${{ matrix.version }} on ${{ matrix.os }} needs: @@ -87,7 +87,7 @@ jobs: type=ref,event=pr,prefix=${{ matrix.version }}-${{ matrix.os }}- type=sha,prefix=${{ matrix.version }}-${{ matrix.os }}- type=edge,enable=true,priority=700prefix=${{ matrix.version }}-${{ matrix.os }}-,suffix=,branch=$repo.default_branch - type=edge,enable=${{ matrix.version == '12.2.0' && matrix.os == 'ubuntu22.04' }},prefix=,suffix= + type=edge,enable=${{ matrix.version == '12.3.1' && matrix.os == 'ubuntu22.04' }},prefix=,suffix= - name: 🏗 Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 50ba62f..4365e14 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -60,7 +60,7 @@ jobs: deploy: strategy: matrix: - version: [12.2.0, 12.0.1, 12.0.0, 11.8.0] + version: [12.3.1, 12.2.2, 12.0.1, 12.0.0, 11.8.0] os: [ubuntu22.04] name: 👷 Build & Deploy CUDA ${{ matrix.version }} on ${{ matrix.os }} needs: @@ -93,7 +93,7 @@ jobs: type=semver,pattern={{major}},prefix=${{ matrix.version }}-${{ matrix.os }}- type=sha,prefix=${{ matrix.version }}-${{ matrix.os }}- type=raw,value=${{ matrix.version }}-${{ matrix.os }}-latest,enable=${{ startsWith(github.ref, 'refs/tags/v') }},prefix=,suffix= - type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') && matrix.version == '12.2.0' && matrix.os == 'ubuntu22.04' }},prefix=,suffix= + type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/v') && matrix.version == '12.3.1' && matrix.os == 'ubuntu22.04' }},prefix=,suffix= # yamllint enable rule:line-length - name: 🏗 Set up QEMU diff --git a/xteve/Dockerfile b/xteve/Dockerfile index fe0dd73..84fb7e0 100644 --- a/xteve/Dockerfile +++ b/xteve/Dockerfile @@ -1,22 +1,22 @@ -ARG CUDA=12.2.0 +ARG CUDA=12.3.1 ARG OS=ubuntu22.04 FROM ghcr.io/aperim/nvidia-cuda-ffmpeg:${CUDA}-${OS}-latest ARG CUDA ARG OS -RUN apt-get update && \ - apt-get -y --allow-change-held-packages full-upgrade && \ +RUN apt-get update && + apt-get -y --allow-change-held-packages full-upgrade && apt-get -y install vlc curl unzip sudo -RUN mkdir -p /opt/xteve /etc/xteve/config && \ - curl -L "https://github.com/xteve-project/xTeVe-Downloads/blob/master/xteve_linux_amd64.zip?raw=true" -o /opt/xteve/xteve.zip && \ - cd /opt/xteve && \ - unzip /opt/xteve/xteve.zip && \ - mv ./xteve /usr/bin/ && \ - chmod 755 /usr/bin/xteve && \ - rm -rf /var/lib/apt/lists/* /opt/xteve && \ - usermod -l xteve ffmpeg && \ - groupmod --new-name xteve ffmpeg && \ +RUN mkdir -p /opt/xteve /etc/xteve/config && + curl -L "https://github.com/xteve-project/xTeVe-Downloads/blob/master/xteve_linux_amd64.zip?raw=true" -o /opt/xteve/xteve.zip && + cd /opt/xteve && + unzip /opt/xteve/xteve.zip && + mv ./xteve /usr/bin/ && + chmod 755 /usr/bin/xteve && + rm -rf /var/lib/apt/lists/* /opt/xteve && + usermod -l xteve ffmpeg && + groupmod --new-name xteve ffmpeg && usermod -d /etc/xteve xteve COPY ./xteve/rootfs /