1 KiB
1 KiB
Kaniko Action
Build OCI images using Kaniko.
Usage
Example: Basic Usage, all options.
jobs:
cowsay:
runs-on: docker
steps:
- uses: https://git.kabelsalat.ch/s3lph/forgejo-kaniko-action@v1
with:
dockerfile: |
FROM debian:latest
RUN apt update && apt install --yes cowsay
image: docker.example.org/example/cowsay:latest
registry: docker.example.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
Example: Multiple Tags, Default registry
jobs:
cowsay:
runs-on: docker
steps:
- uses: https://github.com/leandro-costa-oliveira/forgejo-kaniko-action@v2
with:
image: my-user/test-image:latest,my-user/test-image:${{ github.sha }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
Credits
Original creator of the action v1: https://git.kabelsalat.ch/s3lph/forgejo-kaniko-action