commit 3da9f537fc51488feb19f93bfe112256ca073edf Author: ytshih Date: Sat Apr 19 16:59:35 2025 +0800 Initial commit 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