From 217c18cd2609ad820d51ef2d49d0044545c77d3c Mon Sep 17 00:00:00 2001 From: Mohamed Elyousfi <144013278+elyousfi5@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:18:00 +0100 Subject: [PATCH] Revert "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 3e135bf..06ee386 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11"] + python-version: ["3.10"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 46776d7..b651a3f 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11"] + python-version: ["3.10"] steps: - uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index 02621b5..595eadf 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.11-alpine as base +FROM python:3.10-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.11", "/app/agent/trufflehog_agent.py"] +CMD ["python3", "/app/agent/trufflehog_agent.py"] diff --git a/ostorlab.yaml b/ostorlab.yaml index 292d717..1dba8a8 100644 --- a/ostorlab.yaml +++ b/ostorlab.yaml @@ -1,6 +1,6 @@ kind: Agent name: trufflehog -version: 0.3.7 +version: 0.3.6 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.