variant-inc/Actions Python

Github Action to perform build, test , scan and generate Image for Python ## Permissions Add the following permissions to the job ```yaml permissions: id-token: write contents: read ``` ## Usage ```yaml - name: Actions Python uses: variant-inc/actions-python@v2 with: ecr_repository: 'demo/example' python-version: '3.10' ``` ## Locating Container Images ECR containers can be located with this URI. ```text 064859874041.dkr.ecr.us-east-2.amazonaws.com/<ecr_repository> ```

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
dockerfile_dir_pathDirectory Path to the dockerfile.no.
ecr_repositoryECR Repository Name. If this is empty, then container image will not be created. no""
cloud_regionRegion where the image will be created. nous-east-2
python-versionThe python-version input is optional. If not supplied, the action will try to resolve the version from the default `.python-version` file. If the `.python-version` file doesn't exist Python or PyPy version from the PATH will be used. The default version of Python or PyPy in PATH varies between runners and can be changed unexpectedly so we recommend always setting Python version explicitly using the python-version inputs. no

no outputs