Files
kaniko/action.yaml

45 lines
1.1 KiB
YAML

---
name: "Kaniko builder"
description: "Build and push container images using kaniko"
author: Yi-Ting Shih <ytshih@it.cs.nycu.edu.tw>
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
registry-certificate:
description: "The certificate for registry"
required: false
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: true
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