-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
114 lines (87 loc) · 4.22 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
name: Heighliner image build
description: Build and push Docker images with heighliner
author: bigs
inputs:
github-token:
description: "GitHub Token used to authenticate against a repository for Git context"
default: ${{ github.token }}
required: false
heighliner-owner:
description: "GitHub owner name of the heighliner repo to use"
default: strangelove-ventures
required: false
heighliner-repo:
description: "GitHub repo name of the heighliner repo to use"
default: heighliner
required: false
heighliner-tag:
description: "Name of the heighliner tag to use from GitHub (defaults to latest)"
required: false
chain:
description: "Name of the chain (per chains.yaml) to build"
required: true
chains-spec-file:
description: "Local path to chains.yaml file"
required: false
local:
description: "Build image from local checked out repository (any non empty value is evaluated as true)"
default: "true"
required: false
tag:
description: "Resulting docker image tag (default derived from git ref)"
required: false
org:
description: "GitHub organization override for building from a fork"
required: false
registry:
description: "Docker container registry for pushing images"
required: false
buildkit:
description: "User docker buildkit for building images"
required: false
default: "false"
buildkit-address:
description: "Address of the buildkit socket, can be unix, tcp, ssl (default \"unix:///run/buildkit/buildkitd.sock\")"
required: false
platform:
description: "Comma separated list of platforms to build containers for"
required: false
repo-host:
description: "Providing this option will override the default chains.yaml with a custom chain spec."
required: false
github-organization:
description: "The organization name of the location of the chain binary. By default, this is 'github.com', but use this field to override. For example 'gitlab.com'. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
github-repo:
description: "The repo name of the location of the chain binary. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
dockerfile:
description: "Which dockerfile strategy to use (folder names under dockerfile/). OPTIONS: cosmos, cargo, imported, or none. Use imported if you are importing an existing public docker image as a base for the heighliner image. Use none if you are not able to build the chain binary from source and need to download binaries into the image instead. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
build-env:
description: "Environment variables to be created during the build. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
pre-build:
description: "Any extra arguments needed to build the chain binary. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
build-target:
description: "The build command specific to the chosen dockerfile. For cosmos, likely make install. For cargo, likely build --release. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
binaries:
description: "The location of where the the build target places the binarie(s). Adding a ':' after the path allows for the ability to rename the binary. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
libraries:
description: "Any extra libraries need to run the binary. In additon to the binary itself, these will be copied over to the final image. Providing this option will override the default chains.yaml with a custom chain spec."
required: false
outputs:
imageid:
description: "The docker image ID of the built image"
digest:
description: "The docker image digest of the built image"
metadata:
description: "The JSON metadata of the built image"
tag:
description: "The tag applied to the built image"
runs:
using: 'node16'
main: 'dist/index.js'