Update python Docker tag
Some checks failed
divent / lint (push) Failing after 2m42s
divent / docker (push) Failing after 4m18s
divent / pypi (push) Has been skipped

This commit is contained in:
Renovate Bot 2023-10-03 06:54:19 +00:00
parent 2c60a2cd6a
commit 9b11a1164b
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ on: [push]
jobs:
lint:
runs-on: ubuntu-latest
container: python:3.11
container: python:3.12
steps:
- run: apt-get update
- run: apt-get install -y git nodejs
@ -43,7 +43,7 @@ jobs:
pypi:
runs-on: ubuntu-latest
container: python:3.11
container: python:3.12
needs: [lint]
if: startsWith(gitea.ref, 'refs/tags')
env:

View File

@ -1,10 +1,10 @@
FROM python:3.11.5 as build
FROM python:3.12.0 as build
WORKDIR /app
COPY . .
RUN pip install poetry && poetry build
FROM python:3.11.5
FROM python:3.12.0
COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist