feat: add readme

This commit is contained in:
s3lph 2023-11-13 04:20:34 +01:00
parent 25392b8951
commit e50e1e1e24
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5
2 changed files with 25 additions and 2 deletions

23
README.md Normal file
View file

@ -0,0 +1,23 @@
# Kaniko Action
Build OCI images using Kaniko, with the Dockerfile contents provided directly as an action input.
## Usage
Example:
```yaml
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 }}
```

View file

@ -14,10 +14,10 @@ inputs:
required: true
username:
description: Username for the container registry
required: false
required: true
password:
description: Password for the container registry
required: false
required: true
runs:
using: docker
image: docker://gcr.io/kaniko-project/executor:debug