From 83f37ecae5ef41759abb9a7ccac91a71897a0c7e Mon Sep 17 00:00:00 2001 From: Mohamed Elyousfi Date: Thu, 2 Nov 2023 11:06:01 +0100 Subject: [PATCH] Update from python3.10 to 3.11 --- .github/workflows/pylint.yml | 2 +- .github/workflows/pytest.yml | 2 +- Dockerfile | 4 ++-- ostorlab.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 28fba21..2cbeece 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3473069..edf30d0 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10"] + python-version: ["3.11"] steps: - uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index 1ced842..2162ec8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.11-alpine as base FROM base as builder RUN apk add build-base RUN mkdir /install @@ -12,4 +12,4 @@ ENV PYTHONPATH=/app COPY agent /app/agent COPY ostorlab.yaml /app/agent/ostorlab.yaml WORKDIR /app -CMD ["python3", "/app/agent/ip2geo_agent.py"] +CMD ["python3.11", "/app/agent/ip2geo_agent.py"] diff --git a/ostorlab.yaml b/ostorlab.yaml index 72cfb0b..b107229 100644 --- a/ostorlab.yaml +++ b/ostorlab.yaml @@ -1,6 +1,6 @@ kind: Agent name: ip2geo -version: 0.2.9 +version: 0.2.10 image: images/logo.png description: |

Agent Ip2Geo