Container builder plugin for Woodpecker CI
- Shell 52.2%
- Dockerfile 47.8%
| .markdownlint.json | ||
| .prettierrc | ||
| build.sh | ||
| Containerfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
| storage.conf | ||
Container builder with buildah for Woodpecker CI
This is a plugin for Woodpecker CI that builds image using buildah utility.
Usage
It can be used at any event, but it can only push images at the tag event.
when:
- event: tag
steps:
- name: Build the image and push to repository
image: code.thinkaboutit.tech/pandora/container-builder.woodpecker
settings:
debug: true
registry_push: true
registry_push_latest: true
registry_owner: pandora
registry_user: bot-ci
registry_pwd:
from_secret: gitea-bot-ci
Settings
| Name | Default value | Description |
|---|---|---|
| context | Project root directory | Set the context of the build |
| containerfile | Project_root/Containerfile | Path to Containerfile |
| registry_url | Forge URL | Address to the regitry |
| registry_owner | Repo owner | Owner of the image |
| registry_name | Repo name | Name of the image |
| registry_push | false | Push to registry |
| registry_user | Username for the registry | |
| registry_pwd | Password for registry | |
| registry_push_latest | false | Push latest tag |