From 3da9f537fc51488feb19f93bfe112256ca073edf Mon Sep 17 00:00:00 2001 From: ytshih Date: Sat, 19 Apr 2025 16:59:35 +0800 Subject: [PATCH] Initial commit --- action.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 action.yaml diff --git a/action.yaml b/action.yaml new file mode 100644 index 0000000..36e30c6 --- /dev/null +++ b/action.yaml @@ -0,0 +1,41 @@ +--- +name: "Kaniko builder" +description: "Build and push container images using kaniko" +author: Yi-Ting Shih + +inputs: + context: + description: "The context of the build environment" + required: false + default: . + file: + description: "The file location of Dockerfile" + required: false + default: ./Dockerfile + push: + description: "Whether the container will be pushed or not" + required: false + default: false + push-registry: + description: "The registry to push to" + required: false + default: gitea.konchin.com + username: + description: "The username of the user to use when push" + required: false + password: + description: "The password of the user to use when push" + required: false + cache: + description: "Whether the container will be cached or not" + required: false + default: false + tags: + description: "The tags of the image" + required: false + labels: + description: "The labels of the image" + required: false +runs: + using: docker + image: gitea.konchin.com/image/kaniko:latest