No description
- Shell 86.8%
- Dockerfile 13.2%
|
All checks were successful
Build and push container image / build (push) Successful in 23s
Reviewed-on: #4 |
||
|---|---|---|
| .forgejo/workflows | ||
| action.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| README.md | ||
| renovate.json | ||
Forgejo Kaniko Runner Action
Builds container images using Kaniko within a Forgejo Action.
Usage
- name: Build and push image
uses: gibson.rexin.at/actions/kaniko@v1
with:
dockerfile: ./Dockerfile
context: .
destination: forgejo.example.com/user/repo:latest
registry: forgejo.example.com
user: my-user
password: ${{ secrets.MY_SECRET_PASSWORD }}
build-arg: |
key=value
another=value2
cache-repo: forgejo.example.com/user/repo-cache
## Authentication
The action automatically creates a Kaniko config file for authentication. You need to provide the following inputs to the action:
* `registry`: The URL of the container registry.
* `user`: The username for the container registry.
* `password`: The password for the container registry. It is recommended to use a Forgejo secret for this input.