Skip to content

Commit 13f02b2

Browse files
authored
feat: upgrade dependencies (#17)
1 parent c4cb4c2 commit 13f02b2

File tree

5 files changed

+16
-23
lines changed

5 files changed

+16
-23
lines changed

.github/dependabot.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ updates:
99
prefix: "ci"
1010
prefix-development: "ci"
1111
include: "scope"
12-
- package-ecosystem: pip
13-
directory: /
14-
schedule:
15-
interval: monthly
16-
commit-message:
17-
prefix: "build"
18-
prefix-development: "build"
19-
include: "scope"
20-
versioning-strategy: lockfile-only
21-
allow:
22-
- dependency-type: "all"
12+
groups:
13+
ci-dependencies:
14+
patterns:
15+
- "*"

.github/workflows/publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Set up QEMU
23-
uses: docker/setup-qemu-action@v2
23+
uses: docker/setup-qemu-action@v3
2424

2525
- name: Set up Docker Buildx
26-
uses: docker/setup-buildx-action@v2
26+
uses: docker/setup-buildx-action@v3
2727

2828
- name: Login to Docker Hub
29-
uses: docker/login-action@v1
29+
uses: docker/login-action@v3
3030
with:
3131
username: ${{ secrets.REGISTRY_USERNAME }}
3232
password: ${{ secrets.REGISTRY_PASSWORD }}
3333

3434
- name: Build and push Docker image
35-
uses: docker/build-push-action@v4
35+
uses: docker/build-push-action@v5
3636
with:
3737
build-args: |
3838
"PYTHON_VERSION=${{ matrix.python-version }}"

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ jobs:
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4docker/setup-buildx-action@v3
1919

2020
- name: Set up QEMU
21-
uses: docker/setup-qemu-action@v2
21+
uses: docker/setup-qemu-action@v3
2222

2323
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v2
24+
uses: docker/setup-buildx-action@v3
2525

2626
- name: Login to Docker Hub
27-
uses: docker/login-action@v1
27+
uses: docker/login-action@v3
2828
with:
2929
username: ${{ secrets.REGISTRY_USERNAME }}
3030
password: ${{ secrets.REGISTRY_PASSWORD }}
3131

3232
- name: Build Docker image
33-
uses: docker/build-push-action@v4
33+
uses: docker/build-push-action@v5
3434
with:
3535
build-args: |
3636
"PYTHON_VERSION=${{ matrix.python-version }}"

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN MICROMAMBA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "64"
1616

1717
# Install CUDA and cuDNN.
1818
ARG CUDA_VERSION=11.8
19-
ARG CUDNN_VERSION=8.8
19+
ARG CUDNN_VERSION=8.9
2020
RUN micromamba create --prefix /opt/cuda/ --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION" && \
2121
micromamba clean --all --force-pkgs-dirs --yes
2222
ENV LD_LIBRARY_PATH=/opt/cuda/lib:$LD_LIBRARY_PATH

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A minimal CUDA and cuDNN install on top of the official `python:3.x-slim` base i
88

99
- ✅ Starts from the official `python:3.x-slim` base image
1010
- 🐍 Adds a single `micromamba` executable to install CUDA and cuDNN
11-
- 🧬 Matrix build for Python {3.8, 3.9, 3.10, 3.11} and CUDA {11.8}
11+
- 🧬 Matrix build for Python {3.8, 3.9, 3.10, 3.11}, CUDA {11.8}, and cuDNN {8.9}
1212
- 📦 Multi-platform build for `linux/amd64` and `linux/arm64`
1313
- 🐭 Image size is only 1.8GB
1414

0 commit comments

Comments
 (0)