forgejo-kaniko-action/README.md
2023-11-13 04:20:34 +01:00

593 B

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