diff --git a/.github/workflows/ci-main.yaml b/.github/workflows/ci-main.yaml index 9d27fc14e..4959723d6 100644 --- a/.github/workflows/ci-main.yaml +++ b/.github/workflows/ci-main.yaml @@ -63,7 +63,7 @@ jobs: if: (github.actor != 'dependabot[bot]') steps: - uses: actions/checkout@v4 - - uses: returntocorp/semgrep-action@v1 + - uses: semgrep/semgrep-action@v1 with: publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} pre-commit: diff --git a/Dockerfile b/Dockerfile index 6db68e491..1f401e456 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.0-bullseye as base +FROM python:3.10.0-bullseye AS base ENV PYTHONFAULTHANDLER=1 \ PYTHONHASHSEED=random \ @@ -6,7 +6,7 @@ ENV PYTHONFAULTHANDLER=1 \ RUN mkdir /app WORKDIR /app -FROM base as builder +FROM base AS builder RUN pip install --upgrade pip ;\ pip install poetry @@ -18,10 +18,7 @@ RUN poetry config virtualenvs.in-project true ;\ . /app/.venv/bin/activate ;\ pip install dist/*.whl - - - -FROM base as final +FROM base AS final COPY --from=builder /app/.venv /app/.venv COPY entrypoint.sh ./