Container builder plugin for Woodpecker CI
- Shell 52.1%
- Dockerfile 47.9%
|
All checks were successful
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | docker.io/library/debian | final | digest | `ed87500` → `1275c56` | --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTQuNSIsInVwZGF0ZWRJblZlciI6IjQzLjIxNC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #14 |
||
|---|---|---|
| .markdownlint.json | ||
| .prettierrc | ||
| .trivyignore | ||
| 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 |