File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 13
13
REGISTRY : ghcr.io
14
14
IMAGE_NAME : ${{ github.repository }}
15
15
PYTHON_VERSION : " 3.12"
16
- POETRY_VERSION : " 1.3.2 "
17
- POETRY_DYNAMIC_VERSIONING_VERSION : " 1.1.0 "
16
+ POETRY_VERSION : " 1.8.3 "
17
+ POETRY_DYNAMIC_VERSIONING_VERSION : " 1.4.1 "
18
18
QEMU_PLATFORMS : " linux/amd64,linux/arm64"
19
19
20
20
jobs :
Original file line number Diff line number Diff line change 1
- ARG BASE_IMAGE="docker.io/python:3.12-alpine"
1
+ ARG PYTHON_VERSION="3.12"
2
+ ARG BASE_IMAGE="docker.io/python:${PYTHON_VERSION}-alpine"
2
3
3
4
FROM ${BASE_IMAGE} AS poetry
4
5
5
6
RUN apk add --no-cache \
6
7
build-base \
7
8
libffi-dev
8
- RUN pip install poetry==1.3.2
9
+ ARG POETRY_VERSION="1.8.3"
10
+ RUN pip install poetry==${POETRY_VERSION}
9
11
10
12
11
13
FROM poetry AS builder
@@ -16,7 +18,8 @@ RUN python -m venv /app && \
16
18
source /app/bin/activate && \
17
19
poetry install --only main --no-root
18
20
19
- RUN poetry self add "poetry-dynamic-versioning[plugin]==1.1.0"
21
+ ARG POETRY_DYNAMIC_VERSIONING_VERSION="1.4.1"
22
+ RUN poetry self add "poetry-dynamic-versioning[plugin]==${POETRY_DYNAMIC_VERSIONING_VERSION}"
20
23
RUN apk add --no-cache git
21
24
COPY tsdapiclient ./tsdapiclient
22
25
COPY .git ./.git
You can’t perform that action at this time.
0 commit comments