Command | Description |
---|---|
docker-build | Runs a docker build command for multiple platforms and pushes to dockerhub at the end. |
- pip:
pip install delfino-docker
- Poetry:
poetry add -D delfino-docker
- Pipenv:
pipenv install -d delfino-docker
Delfino doesn't load any plugins by default. To enable this plugin, add the following config into pyproject.toml
:
[tool.delfino.plugins.delfino-docker]
[tool.delfino.plugins.delfino-docker.docker-build]
# User name for logging in into dockerhub
dockerhub_username = ""
# Platforms to build with dockerx
build_for_platforms = [
"linux/arm/v7",
"linux/arm64",
"linux/amd64",
]
Run delfino --help
.