Skip to content

Commit

Permalink
Version bump - adding CUDA 12.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
troykelly committed Jan 16, 2024
1 parent 7561045 commit cdcb3b8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions xteve/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 /
Expand Down

0 comments on commit cdcb3b8

Please sign in to comment.