Skip to content

Commit

Permalink
docker: update to python 3.12 (#305)
Browse files Browse the repository at this point in the history
* build(deps): use py312

* ci: use py312

* docker: merge #246

---------

Co-authored-by: JamzumSum <zzzzss990315@gmail.com>
  • Loading branch information
github-actions[bot] and JamzumSum authored Feb 2, 2024
1 parent 978fb44 commit 83a39fc
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 203 deletions.
3 changes: 1 addition & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: saturday
interval: daily
versioning-strategy: increase-if-necessary

- package-ecosystem: docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
cache: poetry

- name: Install Library and Build HTML
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
cache: poetry

- name: Install and Test
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-slim as build
FROM python:3.12-slim as build

WORKDIR /home/build

Expand All @@ -10,7 +10,7 @@ RUN bash src/zipapp.sh ./run
# Runtime Stage
# ==============================================

FROM python:3.11-slim as release
FROM python:3.12-slim as release
# use slim since opencv-python doesn't offically support alpine.

LABEL org.opencontainers.image.source=https://github.com/aioqzone/Qzone2TG
Expand Down
Loading

0 comments on commit 83a39fc

Please sign in to comment.