Initial commit
This commit is contained in:
41
action.yaml
Normal file
41
action.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
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
|
||||
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
|
||||
Reference in New Issue
Block a user