mirror of
https://code.thetadev.de/actions/kaniko.git
synced 2026-04-28 18:51:43 +00:00
initial commit
This commit is contained in:
66
action.yml
Normal file
66
action.yml
Normal file
@@ -0,0 +1,66 @@
|
||||
name: "Kaniko builder"
|
||||
description: "Build and push docker images using Kaniko"
|
||||
author: ThetaDev <thetadev@magenta.de>
|
||||
inputs:
|
||||
path:
|
||||
description: Path to the build context
|
||||
required: false
|
||||
default: "."
|
||||
registry:
|
||||
description: "Docker registry where the image will be pushed"
|
||||
required: false
|
||||
username:
|
||||
description: "Username used for authentication to the Docker registry"
|
||||
required: false
|
||||
password:
|
||||
description: "Password used for authentication to the Docker registry"
|
||||
required: false
|
||||
image:
|
||||
description: "Image name"
|
||||
required: true
|
||||
tag:
|
||||
description: "Image tag"
|
||||
required: false
|
||||
cache:
|
||||
description: "Enables build cache"
|
||||
required: false
|
||||
cache_ttl:
|
||||
description: "How long the cache should be considered valid"
|
||||
required: false
|
||||
cache_registry:
|
||||
description: "Docker registry meant to be used as cache"
|
||||
required: false
|
||||
cache_directory:
|
||||
description: "Filesystem path meant to be used as cache"
|
||||
required: false
|
||||
build_file:
|
||||
description: "Dockerfile filename"
|
||||
required: false
|
||||
strip_tag_prefix:
|
||||
description: "Prefix to be stripped from the tag"
|
||||
required: false
|
||||
platforms:
|
||||
description: "Target platforms to build (separated by comma)"
|
||||
required: false
|
||||
extra_args:
|
||||
description: "Additional arguments to be passed to the kaniko executor"
|
||||
required: false
|
||||
tag_with_latest:
|
||||
description: "Tags the built image with additional latest tag"
|
||||
required: false
|
||||
target:
|
||||
description: Sets the target stage to build
|
||||
required: false
|
||||
debug:
|
||||
description: Enables trace for entrypoint.sh
|
||||
required: false
|
||||
outputs:
|
||||
image:
|
||||
description: "Full reference to the built image with registry and tag"
|
||||
digest:
|
||||
description: "Checksum of the build image; Example: sha256:65335ed73cf17abdbcbe90354b75da0f22173486e6b92ab2f0f3d9ff9d928898"
|
||||
image-tag-digest:
|
||||
description: "Reference to the build image with registry and checksum; Example: index.docker.io/thetadev256/test-actions-helloworld@sha256:65335ed73cf17abdbcbe90354b75da0f22173486e6b92ab2f0f3d9ff9d928898"
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "Dockerfile"
|
||||
Reference in New Issue
Block a user