diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4cdeb58..35b61eb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,11 +16,11 @@ jobs: docker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Setup docker builds - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: loging to ghcr if: github.event_name != 'pull_request' diff --git a/Dockerfile b/Dockerfile index 008b15b..ef0957b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -FROM python:3.11-buster as builder +FROM python:3.10-buster as builder +RUN pip install --upgrade pip RUN pip install poetry==1.8.1 ENV POETRY_NO_INTERACTION=1 \ @@ -14,7 +15,7 @@ RUN touch README.md RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --no-root -FROM python:3.11-slim-buster as runtime +FROM python:3.11-slim-bullseye as runtime ENV VIRTUAL_ENV=/app/.venv \ PATH="/app/.venv/bin:$PATH" diff --git a/tmp.dockerfile b/tmp.dockerfile new file mode 100644 index 0000000..b4bb1ad --- /dev/null +++ b/tmp.dockerfile @@ -0,0 +1,3 @@ +FROM ubuntu:latest as builder + +RUN apt-get update \ No newline at end of file