Skip to content

Commit

Permalink
Fix/local images (#22)
Browse files Browse the repository at this point in the history
* chore(ci-cd): move to local images

* chore: bump python version
  • Loading branch information
kutuzov13 committed May 31, 2024
1 parent cd8b898 commit 5698691
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,7 +14,7 @@ jobs:
- name: Setup
uses: ExpressApp/[email protected]
with:
python-version: "3.10"
python-version: "3.11"
poetry-version: "1.3.2"

- name: Run lint
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = []


[tool.poetry.dependencies]
python = "~3.10"
python = "~3.11"

pybotx = { path = "./pybotx-submodule", develop = true }
fastapi = "~0.103.0"
Expand Down

0 comments on commit 5698691

Please sign in to comment.