From c5cac50fc862d9c8b764142c135151ef90c92c4b Mon Sep 17 00:00:00 2001 From: Mohamed Elyousfi Date: Wed, 1 Nov 2023 13:34:36 +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 06ee386..3e135bf 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 b651a3f..46776d7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.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/Dockerfile b/Dockerfile index 595eadf..02621b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apk add git RUN git clone https://github.com/trufflesecurity/trufflehog.git trufflehog RUN cd trufflehog ; go build -o trufflehog -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 @@ -23,4 +23,4 @@ ENV PYTHONPATH=/app COPY agent /app/agent COPY ostorlab.yaml /app/agent/ostorlab.yaml WORKDIR /app -CMD ["python3", "/app/agent/trufflehog_agent.py"] +CMD ["python3.11", "/app/agent/trufflehog_agent.py"] diff --git a/ostorlab.yaml b/ostorlab.yaml index 1dba8a8..292d717 100644 --- a/ostorlab.yaml +++ b/ostorlab.yaml @@ -1,6 +1,6 @@ kind: Agent name: trufflehog -version: 0.3.6 +version: 0.3.7 description: | This repository is an implementation of [Ostorlab Agent](https://pypi.org/project/ostorlab/) for the [trufflehog tool] https://github.com/trufflesecurity/trufflehog by trufflesecurity.