diff --git a/.gitea/workflows/python-security-checks.yml b/.gitea/workflows/python-security-checks.yml index de5243a..1203e71 100644 --- a/.gitea/workflows/python-security-checks.yml +++ b/.gitea/workflows/python-security-checks.yml @@ -3,9 +3,6 @@ name: Reusable Python Security Checks on: workflow_call: inputs: - python_version: - type: string - default: "3.14" install_command: type: string default: 'python -m pip install "bandit[toml]"' @@ -15,12 +12,18 @@ on: working_directory: type: string default: "." + secrets: + REGISTRY_USERNAME: { required: true } + REGISTRY_PASSWORD: { required: true } jobs: security: runs-on: docker container: - image: python:${{ inputs.python_version }}-slim + image: gitea.tech-buddy.at/bitbuddydev/gitea_runner_python314:dev-bda315b82bb23d83065b77d91fedf0e20d9accf1 + credentials: + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_PASSWORD }} steps: - name: Checkout