Build OCI images using Kaniko, with the Dockerfile contents provided directly as an action input.
Find a file
2023-12-04 21:13:50 +01:00
action.yml feat: add readme 2023-11-13 04:20:34 +01:00
LICENSE feat: add license 2023-12-04 21:13:50 +01:00
README.md feat: add readme 2023-11-13 04:20:34 +01:00

Kaniko Action

Build OCI images using Kaniko, with the Dockerfile contents provided directly as an action input.

Usage

Example:

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 }}