mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
feat: add GitHub Actions workflow for publishing Python packages and Docker image
Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
@@ -74,15 +74,18 @@ description =
|
||||
The version is taken from the pyproject.toml file.
|
||||
Make sure that you have the rights to upload the image to Docker Hub.
|
||||
commands =
|
||||
python3 -m uv sync --all-groups --active
|
||||
python3 -m uv sync --all-groups -U --active
|
||||
python3 -m id_tools build docker --platform linux/amd64,linux/arm64/v8 --push
|
||||
python3 -m id_tools publication sign-docker
|
||||
python3 -m uv build
|
||||
python3 -m uv publish
|
||||
docker =
|
||||
passenv =
|
||||
COSIGN_PASSWORD
|
||||
COSIGN_PRIVATE_KEY
|
||||
DOCKER_HUB_LOGIN
|
||||
DOCKER_HUB_TOKEN
|
||||
UV_PUBLISH_TOKEN
|
||||
|
||||
[docker:pypi-repo]
|
||||
dockerfile = {tox_root}/tests/dockerfiles/repos/pypi-repo.Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user