2
Home
Stefano Pigozzi edited this page 2025-11-14 18:20:15 +01:00
Table of Contents
Workflows and requirements
-
Build and push container image via docker buildx
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
vars.FORGEJO_DOMAIN_NAMEto the current Forgejo's instance domain name (forge.steffo.eu) - Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
vars.CONTAINER_IMAGE_NAMEto the tag of the image to build (rookframe)
-
Deploy page on a host directory
- Make sure the Actions Forgejo unit is enabled for the repository
-
Release using Poetry a new version of the Python package and deploy docs on a host directory
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.TEST_PYPI_TOKENto a Test PyPI Access Token - Set
secrets.PYPI_TOKENto a PyPI Access Token
-
Test with Pytest the Python package using Poetry
- Make sure the Actions Forgejo unit is enabled for the repository
- Set
vars.PYTHON_PACKAGEto the name of the Python package you want to test
-
Test with Cargo the Rust crate
- Make sure the Actions Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.CRATESIO_TOKENto a Crates.io API token
-
Release using Cargo a new version of the Rust crates in the workspace
- Make sure the Actions Forgejo unit is enabled for the repository
- Make sure the Packages Forgejo unit is enabled for the repository
- Set
secrets.FORGEJO_PACKAGES_TOKENto a Forgejo Access Token with thepackagescope - Set
secrets.CRATESIO_TOKENto a Crates.io API token