38 lines
909 B
YAML
38 lines
909 B
YAML
name: kaniko
|
|
inputs:
|
|
dockerfile:
|
|
description: Dockerfile path
|
|
required: true
|
|
default: ./Dockerfile
|
|
registry:
|
|
description: Registry URL
|
|
required: true
|
|
default: ${{ gitea.server_url }}
|
|
image:
|
|
description: Image name
|
|
required: true
|
|
default: ${{ gitea.repository }}:latest
|
|
username:
|
|
description: Registry username
|
|
required: true
|
|
default: ${{ gitea.repository_owner }}
|
|
password:
|
|
description: Registry password
|
|
required: true
|
|
default: ${{ gitea.token }}
|
|
tls:
|
|
description: Prevent push to http
|
|
required: true
|
|
default: true
|
|
|
|
runs:
|
|
using: docker
|
|
image: Dockerfile
|
|
args:
|
|
- ACTION_DOCKERFILE=${{ inputs.dockerfile }}
|
|
- ACTION_REGISTRY=${{ inputs.registry }}
|
|
- ACTION_IMAGE=${{ inputs.image }}
|
|
- ACTION_USERNAME=${{ inputs.username }}
|
|
- ACTION_PASSWORD=${{ inputs.password }}
|
|
- ACTION_TLS=${{ inputs.tls }}
|