diff --git a/.github/workflows/build-push-chart.yml b/.github/workflows/build-push-chart.yml index 585025e..9284106 100644 --- a/.github/workflows/build-push-chart.yml +++ b/.github/workflows/build-push-chart.yml @@ -13,7 +13,7 @@ name: Build/Push Image and Release Charts permissions: read-all jobs: setenv: - uses: ortelius/workflow-toolkit/.github/workflows/env-config-workflow.yml@e79774e1c2b3a0a775dbd417f528ff269130d841 + uses: ortelius/workflow-toolkit/.github/workflows/env-config-workflow.yml@f7ed4b25b4fefcf3a7c44f8c605cce986d9777db with: gh_head_ref: ${{ github.head_ref }} gh_ref_name: ${{ github.ref_name }} @@ -22,7 +22,7 @@ jobs: gh_repo: ${{ github.repository }} gh_run_number: ${{ github.run_number }} release: - uses: ortelius/workflow-toolkit/.github/workflows/container-release-workflow.yml@e79774e1c2b3a0a775dbd417f528ff269130d841 + uses: ortelius/workflow-toolkit/.github/workflows/container-release-workflow.yml@f7ed4b25b4fefcf3a7c44f8c605cce986d9777db needs: setenv with: gh_repository_owner: ${{ github.repository_owner }} @@ -39,7 +39,7 @@ jobs: permissions: security-events: write statuses: write - uses: ortelius/workflow-toolkit/.github/workflows/trivy-scan-workflow.yml@e79774e1c2b3a0a775dbd417f528ff269130d841 + uses: ortelius/workflow-toolkit/.github/workflows/trivy-scan-workflow.yml@f7ed4b25b4fefcf3a7c44f8c605cce986d9777db needs: - setenv - release @@ -51,7 +51,7 @@ jobs: helm: permissions: contents: write - uses: ortelius/workflow-toolkit/.github/workflows/helm-release-workflow.yml@e79774e1c2b3a0a775dbd417f528ff269130d841 + uses: ortelius/workflow-toolkit/.github/workflows/helm-release-workflow.yml@f7ed4b25b4fefcf3a7c44f8c605cce986d9777db needs: - setenv - release @@ -71,7 +71,7 @@ jobs: GPG_KEY: ${{ secrets.GPG_KEY }} gh_token: ${{ secrets.HELM_INDEXER_TOKEN }} sbom: - uses: ortelius/workflow-toolkit/.github/workflows/sbom-generation-workflow.yml@e79774e1c2b3a0a775dbd417f528ff269130d841 + uses: ortelius/workflow-toolkit/.github/workflows/sbom-generation-workflow.yml@f7ed4b25b4fefcf3a7c44f8c605cce986d9777db needs: - setenv - release diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 71e5fee..5e79249 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,11 +29,11 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Initialize CodeQL - uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/init@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7 with: languages: "python" - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/analyze@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7 with: category: "/language:python" diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index bd641c6..b5786eb 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -62,7 +62,7 @@ jobs: - name: Create Pull Request with applied fixes id: cpr if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix') - uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # v6.0.1 + uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6.0.2 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} commit-message: "[MegaLinter] Apply linters automatic fixes" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index c61a0f3..992790b 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -44,6 +44,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6 + uses: github/codeql-action/upload-sarif@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7 with: sarif_file: results.sarif diff --git a/Dockerfile b/Dockerfile index a6e62be..b80956d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM cgr.dev/chainguard/python:latest-dev@sha256:202e5d108c3a4aa7ae67171e1d52a03fe8e8cc14264c97cd424c87695d494a86 AS builder +FROM cgr.dev/chainguard/python:latest-dev@sha256:9ee3605335cc8f68d8fb18ecf198aa984428015b65d84c0983d045920fd59ae7 AS builder COPY . /app WORKDIR /app RUN python -m pip install --no-cache-dir -r requirements.txt --require-hashes --no-warn-script-location; -FROM cgr.dev/chainguard/python:latest@sha256:46b76efa3162bd30a0caad8f3dc43719610da23cf49fb3ccf11aad634b4b7a47 +FROM cgr.dev/chainguard/python:latest@sha256:227fc741b1ff222576390c28900831e34f817016aa76292913e50f778083f988 USER nonroot ENV DB_HOST localhost ENV DB_NAME postgres diff --git a/requirements.in b/requirements.in index 03ed93f..6cf6d02 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ fastapi==0.110.0 psycopg2_binary==2.9.9 -pydantic==2.6.3 +pydantic==2.6.4 SQLAlchemy==2.0.28 uvicorn==0.28.0 requests==2.31.0