From e78d1e733247e26525910a1dba49f4e8ebb98729 Mon Sep 17 00:00:00 2001 From: Yegor Kutuzov Date: Fri, 31 May 2024 16:43:24 +0300 Subject: [PATCH] Fix/local images (#22) * chore(ci-cd): move to local images * chore: bump python version --- .github/workflows/actions.yml | 12 ------------ Dockerfile | 2 +- pyproject.toml | 2 +- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c88e26f..4fb0de4 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,18 +1,6 @@ name: Python application on: push jobs: - build: - name: Build - runs-on: ubuntu-20.04 - - steps: - - name: Checkout repository and submodules - uses: actions/checkout@v2 - with: - submodules: recursive - - - name: Build bot image - run: docker build -t next-feature-bot . lint: name: Lint diff --git a/Dockerfile b/Dockerfile index 302d543..977adc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim +FROM registry.ccsteam.ru/bots-cicd-images/python:3.11.5-slim # Immediately write to stdout, don't use buffer ENV PYTHONUNBUFFERED 1 diff --git a/pyproject.toml b/pyproject.toml index dbaeab6..b914792 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [] [tool.poetry.dependencies] -python = "~3.10" +python = "~3.11" pybotx = { path = "./pybotx-submodule", develop = true } fastapi = "~0.103.0"